From: Michel Lespinasse Date: Tue, 14 Aug 2012 21:53:20 +0000 (-0700) Subject: slab: do not call compound_head() in page_get_cache() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~8^2~2^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48f2474144ac708f1faad97e82a863ca8214b602;p=pandora-kernel.git slab: do not call compound_head() in page_get_cache() page_get_cache() does not need to call compound_head(), as its unique caller virt_to_slab() already makes sure to return a head page. Additionally, removing the compound_head() call makes page_get_cache() consistent with page_get_slab(). Signed-off-by: Michel Lespinasse Cc: Christoph Lameter Cc: Pekka Enberg Acked-by: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed