From f96efd585b8d847181f81bf16721f96ded18d9fe Mon Sep 17 00:00:00 2001 From: Joe Jin Date: Sun, 15 Jul 2007 23:38:12 -0700 Subject: [PATCH] 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: gurudas pai Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed