android_kernel_xiaomi_sm8350/net/sunrpc
Christoph Lameter 74c7aa8b85 [PATCH] Replace highest_possible_node_id() with nr_node_ids
highest_possible_node_id() is currently used to calculate the last possible
node idso that the network subsystem can figure out how to size per node
arrays.

I think having the ability to determine the maximum amount of nodes in a
system at runtime is useful but then we should name this entry
correspondingly, it should return the number of node_ids, and the the value
needs to be setup only once on bootup.  The node_possible_map does not
change after bootup.

This patch introduces nr_node_ids and replaces the use of
highest_possible_node_id().  nr_node_ids is calculated on bootup when the
page allocators pagesets are initialized.

[deweerdt@free.fr: fix oops]
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Neil Brown <neilb@suse.de>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Frederik Deweerdt <frederik.deweerdt@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-20 17:10:13 -08:00
..
auth_gss Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
auth_null.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
auth_unix.c SUNRPC: fix print format for tk_pid 2007-02-03 15:35:10 -08:00
auth.c Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
cache.c Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
clnt.c Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
Makefile
pmap_clnt.c Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
rpc_pipe.c Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
sched.c Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
socklib.c SUNRPC: Rename skb_reader_t and friends 2006-12-06 10:46:52 -05:00
stats.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
sunrpc_syms.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
svc.c [PATCH] Replace highest_possible_node_id() with nr_node_ids 2007-02-20 17:10:13 -08:00
svcauth_unix.c [PATCH] knfsd: allow the server to provide a gid list when using AUTH_UNIX authentication 2007-02-14 08:09:53 -08:00
svcauth.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
svcsock.c [PATCH] knfsd: SUNRPC: fix up svc_create_socket() to take a sockaddr struct + length 2007-02-12 09:48:36 -08:00
sysctl.c [PATCH] sysctl: remove insert_at_head from register_sysctl 2007-02-14 08:09:59 -08:00
timer.c
xdr.c [NET] SUNRPC: Fix whitespace errors. 2007-02-10 23:20:13 -08:00
xprt.c Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
xprtsock.c [PATCH] sysctl: remove insert_at_head from register_sysctl 2007-02-14 08:09:59 -08:00