Commit c6a566f
Frederic Weisbecker
mm: Create/affine kswapd to its preferred node
kswapd is dedicated to a specific node. As such it wants to be
preferrably affine to it, memory and CPUs-wise.
Use the proper kthread API to achieve that. As a bonus it takes care of
CPU-hotplug events and CPU-isolation on its behalf.
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>1 parent 54880b5 commit c6a566f
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7182 | 7182 | | |
7183 | 7183 | | |
7184 | 7184 | | |
7185 | | - | |
7186 | | - | |
7187 | | - | |
7188 | | - | |
7189 | 7185 | | |
7190 | 7186 | | |
7191 | 7187 | | |
| |||
7354 | 7350 | | |
7355 | 7351 | | |
7356 | 7352 | | |
7357 | | - | |
| 7353 | + | |
7358 | 7354 | | |
7359 | 7355 | | |
7360 | 7356 | | |
7361 | 7357 | | |
7362 | 7358 | | |
7363 | 7359 | | |
| 7360 | + | |
| 7361 | + | |
7364 | 7362 | | |
7365 | 7363 | | |
7366 | 7364 | | |
| |||
0 commit comments