projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
page allocator: use a pre-calculated value instead of num_online_nodes() in fast...
[firefly-linux-kernel-4.4.55.git]
/
net
/
sunrpc
/
svc.c
diff --git
a/net/sunrpc/svc.c
b/net/sunrpc/svc.c
index 8847add6ca164a7aea722b96978c44abb5ba7158..5ed8931dfe98f8af810a28a046f9c6729f07e6a3 100644
(file)
--- a/
net/sunrpc/svc.c
+++ b/
net/sunrpc/svc.c
@@
-124,7
+124,7
@@
svc_pool_map_choose_mode(void)
{
unsigned int node;
- if (n
um_online_nodes()
> 1) {
+ if (n
r_online_nodes
> 1) {
/*
* Actually have multiple NUMA nodes,
* so split pools on NUMA node boundaries