From: Eric Dumazet Date: Thu, 28 Jul 2011 18:04:09 +0000 (+0200) Subject: sunrpc: use better NUMA affinities X-Git-Tag: v3.2-rc1~177^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11fd165c68b73434ca1273e21f21db5eecc90926;p=pandora-kernel.git sunrpc: use better NUMA affinities Use NUMA aware allocations to reduce latencies and increase throughput. sunrpc kthreads can use kthread_create_on_node() if pool_mode is "percpu" or "pernode", and svc_prepare_thread()/svc_init_buffer() can also take into account NUMA node affinity for memory allocations. Signed-off-by: Eric Dumazet CC: "J. Bruce Fields" CC: Neil Brown CC: David Miller Reviewed-by: Greg Banks [bfields@redhat.com: fix up caller nfs41_callback_up] Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed