Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 88656e13 authored by Joe Jin's avatar Joe Jin Committed by Greg Kroah-Hartman
Browse files

hugetlb: fix race in alloc_fresh_huge_page()


That static `nid' index needs locking.  Without it we can end up calling
alloc_pages_node() with an illegal node ID and the kernel crashes.

Acked-by: default avatarGurudas Pai <gurudas.pai@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent b970e646
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment