Commit:     9422ffba4adc82b4b67a3ca6ef51516aa61f8248
Parent:     ee31af5d649d8aa6ac7948a6d97ae48367ff2d7e
Author:     Christoph Lameter <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 16 01:25:31 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Oct 16 09:42:58 2007 -0700

    Memoryless nodes: No need for kswapd
    A node without memory does not need a kswapd.  So use the memory map instead
    of the online map when starting kswapd.
    Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>
    Acked-by: Nishanth Aravamudan <[EMAIL PROTECTED]>
    Tested-by: Lee Schermerhorn <[EMAIL PROTECTED]>
    Acked-by: Bob Picco <[EMAIL PROTECTED]>
    Cc: Mel Gorman <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 mm/vmscan.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mm/vmscan.c b/mm/vmscan.c
index bc58802..8765688 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -1733,7 +1733,7 @@ static int __init kswapd_init(void)
        int nid;
-       for_each_online_node(nid)
+       for_each_node_state(nid, N_HIGH_MEMORY)
        hotcpu_notifier(cpu_callback, 0);
        return 0;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to