projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a47b53c
)
kthread: use N_MEMORY instead N_HIGH_MEMORY
author
Lai Jiangshan
<
[email protected]
>
Wed, 12 Dec 2012 21:51:39 +0000
(13:51 -0800)
committer
Linus Torvalds
<
[email protected]
>
Thu, 13 Dec 2012 01:38:33 +0000
(17:38 -0800)
N_HIGH_MEMORY stands for the nodes that has normal or high memory.
N_MEMORY stands for the nodes that has any memory.
The code here need to handle with the nodes which have memory, we should
use N_MEMORY instead.
Signed-off-by: Lai Jiangshan <
[email protected]
>
Signed-off-by: Wen Congyang <
[email protected]
>
Cc: Christoph Lameter <
[email protected]
>
Cc: Hillf Danton <
[email protected]
>
Cc: Lin Feng <
[email protected]
>
Cc: David Rientjes <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
kernel/kthread.c
patch
|
blob
|
history
diff --git
a/kernel/kthread.c
b/kernel/kthread.c
index 29fb60caecb53125fa76e852609d38f4380cab4c..691dc2ef9baf241c121144799360a7e1237afcb5 100644
(file)
--- a/
kernel/kthread.c
+++ b/
kernel/kthread.c
@@
-428,7
+428,7
@@
int kthreadd(void *unused)
set_task_comm(tsk, "kthreadd");
ignore_signals(tsk);
set_cpus_allowed_ptr(tsk, cpu_all_mask);
- set_mems_allowed(node_states[N_
HIGH_
MEMORY]);
+ set_mems_allowed(node_states[N_MEMORY]);
current->flags |= PF_NOFREEZE;