From: Linus Torvalds Date: Sat, 1 Nov 2008 16:53:58 +0000 (-0700) Subject: reserve_region_with_split: Fix GFP_KERNEL usage under spinlock X-Git-Tag: v2.6.28-rc3~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42c0202363194007a1ac377d047a95aa39246eb0;p=pandora-kernel.git reserve_region_with_split: Fix GFP_KERNEL usage under spinlock This one apparently doesn't generate any warnings, because the function is only used during system bootup, when the warnings are disabled. But it's still very wrong. The __reserve_region_with_split() function is called with the resource_lock held for writing, so it must only ever do GFP_ATOMIC allocations. Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed