Thread (14 messages) 14 messages, 8 authors, 2002-09-18

Re: [PATCH] per-zone kswapd process

From: Andrew Morton <hidden>
Date: 2002-09-13 05:44:20
Also in: lkml

"Martin J. Bligh" wrote:
..
Can we make a simple default of 1 per node, which is what 99%
of people want, and then make it more complicated later if people
complain? It's really pretty easy:

for (node = 0; node < numnodes; ++node) {
        kswapd = kick_off_kswapd_for_node(node);
        kswapd->cpus_allowed = node_to_cpus(node);
}
Seems sane.
 
Or whatever the current cpus_allowed method is. All we seem to need
is node_to_cpus ... I can give that to you tommorow with no problem,
it's trivial.
Tomorrow sounds too early - it'd be nice to get some before-n-after
performance testing to go along with that patch ;)
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help