lkml.org 
[lkml]   [2008]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] [5/12] GBPAGES: Support gbpages in pagetable dump
    Date

    Signed-off-by: Andi Kleen <ak@suse.de>

    ---
    arch/x86/mm/fault.c | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    Index: linux/arch/x86/mm/fault.c
    ===================================================================
    --- linux.orig/arch/x86/mm/fault.c
    +++ linux/arch/x86/mm/fault.c
    @@ -240,7 +240,8 @@ void dump_pagetable(unsigned long addres
    pud = pud_offset(pgd, address);
    if (bad_address(pud)) goto bad;
    printk("PUD %lx ", pud_val(*pud));
    - if (!pud_present(*pud)) goto ret;
    + if (!pud_present(*pud) || pud_large(*pud))
    + goto ret;

    pmd = pmd_offset(pud, address);
    if (bad_address(pmd)) goto bad;

    \
     
     \ /
      Last update: 2008-02-01 10:59    [W:0.018 / U:0.196 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site