Re: [PATCH 004 of 4] knfsd: Provide sunrpc pool_mode module option

From: Andrew Morton
Date: Mon Mar 05 2007 - 23:58:38 EST


On Tue, 6 Mar 2007 13:15:20 +1100 NeilBrown <neilb@xxxxxxx> wrote:

> 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.

Mutter. Is this really suitable and needed for 2.6.21 at this stage in
its life?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/