From: Siddha, Suresh B Date: Wed, 22 Aug 2007 21:01:49 +0000 (-0700) Subject: slab: skip calling cache_free_alien() when the platform is not numa capable X-Git-Tag: v2.6.23-rc4~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1807a1aaf5f2a35ea6d4b527b28bc8889d255a2f;p=pandora-kernel.git slab: skip calling cache_free_alien() when the platform is not numa capable Skip calling cache_free_alien() when the platform is not numa capable. This will avoid cache misses that happen while accessing slabp (which is per page memory reference) to get nodeid. Instead use a global variable to skip the call, which is mostly likely to be present in the cache. This gives a 0.8% performance boost with the database oltp workload on a quad-core SMP platform and by any means the number is not small :) Signed-off-by: Suresh Siddha Acked-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed