From: Christoph Lameter Date: Mon, 16 May 2011 20:26:08 +0000 (-0500) Subject: slub: Make CONFIG_DEBUG_PAGE_ALLOC work with new fastpath X-Git-Tag: v3.0-rc1~341^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1393d9a1857471f816d0be1ccc1d6433a86050f6;p=pandora-kernel.git slub: Make CONFIG_DEBUG_PAGE_ALLOC work with new fastpath Fastpath can do a speculative access to a page that CONFIG_DEBUG_PAGE_ALLOC may have marked as invalid to retrieve the pointer to the next free object. Use probe_kernel_read in that case in order not to cause a page fault. Cc: # 38.x Reported-by: Eric Dumazet Signed-off-by: Christoph Lameter Signed-off-by: Eric Dumazet Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed