From: Christoph Lameter Date: Sat, 25 Mar 2006 11:06:45 +0000 (-0800) Subject: [PATCH] slab: Bypass free lists for __drain_alien_cache() X-Git-Tag: v2.6.17-rc1~852 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e00946fe2351307eb3eda7a3343530f6d2d1af2e;p=pandora-kernel.git [PATCH] slab: Bypass free lists for __drain_alien_cache() __drain_alien_cache() currently drains objects by freeing them to the (remote) freelists of the original node. However, each node also has a shared list containing objects to be used on any processor of that node. We can avoid a number of remote node accesses by copying the pointers to the free objects directly into the remote shared array. And while we are at it: Skip alien draining if the alien cache spinlock is already taken. Kiran reported that this is a performance benefit. Signed-off-by: Christoph Lameter Cc: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed