Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=633c0666b5a5c41c376a5a7e4304d638dc48c1b9
Commit:     633c0666b5a5c41c376a5a7e4304d638dc48c1b9
Parent:     37c0708dbee5825df3bd9ce6ef2199c6c1713970
Author:     Christoph Lameter <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 16 01:25:37 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Oct 16 09:42:59 2007 -0700

    Memoryless nodes: drop one memoryless node boot warning
    
    get_pfn_range_for_nid() is called multiple times for each node at boot time.
    Each time, it will warn about nodes with no memory, resulting in boot 
messages
    like:
    
            Node 0 active with no memory
            Node 0 active with no memory
            Node 0 active with no memory
            Node 0 active with no memory
            Node 0 active with no memory
            Node 0 active with no memory
            On node 0 totalpages: 0
            Node 0 active with no memory
            Node 0 active with no memory
              DMA zone: 0 pages used for memmap
            Node 0 active with no memory
            Node 0 active with no memory
              Normal zone: 0 pages used for memmap
            Node 0 active with no memory
            Node 0 active with no memory
              Movable zone: 0 pages used for memmap
    
    and so on for each memoryless node.
    
    We already have the "On node N totalpages: ..." and other related messages, 
so
    drop the "Node N active with no memory" warnings.
    
    Signed-off-by: Lee Schermerhorn <[EMAIL PROTECTED]>
    Cc: Bob Picco <[EMAIL PROTECTED]>
    Cc: Nishanth Aravamudan <[EMAIL PROTECTED]>
    Cc: KAMEZAWA Hiroyuki <[EMAIL PROTECTED]>
    Cc: Mel Gorman <[EMAIL PROTECTED]>
    Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 mm/page_alloc.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 161bcb7..d06f6e0 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -2712,10 +2712,8 @@ void __meminit get_pfn_range_for_nid(unsigned int nid,
                *end_pfn = max(*end_pfn, early_node_map[i].end_pfn);
        }
 
-       if (*start_pfn == -1UL) {
-               printk(KERN_WARNING "Node %u active with no memory\n", nid);
+       if (*start_pfn == -1UL)
                *start_pfn = 0;
-       }
 
        /* Push the node boundaries out if requested */
        account_node_boundary(nid, start_pfn, end_pfn);
-
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  http://vger.kernel.org/majordomo-info.html

Reply via email to