diff options
author | Siddha, Suresh B <suresh.b.siddha@intel.com> | 2007-08-22 17:01:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-08-22 22:52:46 -0400 |
commit | 1807a1aaf5f2a35ea6d4b527b28bc8889d255a2f (patch) | |
tree | 8b07b08bedebc9bc09648fa3443041a03121733f /drivers/char/synclink_gt.c | |
parent | 32d219854d31daba3407389ada1d454a4cd86fda (diff) |
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 <suresh.b.siddha@intel.com>
Acked-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/synclink_gt.c')
0 files changed, 0 insertions, 0 deletions