lkml.org 
[lkml]   [2011]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [Xen-devel] [PATCH 1/3] x86: calculate precisely the memory needed by init_memory_mapping
    From
    stefano.stabellini@eu.citrix.com writes ("[Xen-devel] [PATCH 1/3] x86: calculate precisely the memory needed by init_memory_mapping"):
    > + if (pgt_buf_end != pgt_buf_top)
    > + printk(KERN_DEBUG "initial kernel pagetable allocation wasted %lx"
    > + " pages\n", pgt_buf_top - pgt_buf_end);

    If (due to a bug) pgt_buf_end > pgt_buf_top, this will printk a
    message about wasting a negative number of pages, rather than
    crashing. Is there something else that will catch this case ?

    Ian.


    \
     
     \ /
      Last update: 2011-06-17 19:13    [W:0.024 / U:1.772 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site