summaryrefslogtreecommitdiff
path: root/scripts/binoffset.c
diff options
context:
space:
mode:
authorGreg Banks <gnb@sgi.com>2007-03-06 01:42:23 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-03-06 09:30:26 -0800
commit42a7fc4a6598221f1a547a76cdd45a8ab4d90e93 (patch)
treeb785321af2e530e25e79924e8c11ef9dc8463244 /scripts/binoffset.c
parentcda1fd4abd773216a888487af0170d0cc3d50454 (diff)
[PATCH] knfsd: provide sunrpc pool_mode module option
Provide a module param "pool_mode" for sunrpc.ko which allows a sysadmin to choose the mode for mapping NFS thread service pools to CPUs. Values are: auto choose a mapping mode heuristically global (default, same as the pre-2.6.19 code) a single global pool percpu one pool per CPU pernode one pool per NUMA node Note that since 2.6.19 the hardcoded behaviour has been "auto", this patch makes the default "global". The pool mode can be changed after boot/modprobe using /sys, if the NFS and lockd services have been shut down. A useful side effect of this change is to fix a small memory leak when unloading the module. Signed-off-by: Greg Banks <gnb@melbourne.sgi.com> Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/binoffset.c')
0 files changed, 0 insertions, 0 deletions