lkml.org 
[lkml]   [2005]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.6.15-rc4 panic in __nr_to_section() with CONFIG_SPARSEMEM
    On Thu, 8 Dec 2005, Dave Hansen wrote:
    > On Thu, 2005-12-08 at 08:07 -0800, Badari Pulavarty wrote:
    > > No. It doesn't help. It looks like ppc pmd_huge() always returns 0.
    > > Don't know why ? :(
    >
    > The ppc64 hugetlb pages don't line up on PMD boundaries like they do on
    > i386. The entries are stored in regular old PTEs.
    >
    > I really don't like coding the two different hugetlb cases, but I can't
    > think of a better way to do it. Anyone care to test on ppc64?

    Oh, it isn't worth that effort, just test is_vm_hugetlb_page(vma)
    in show_smap, and skip it if so - or make up appropriate numbers
    from (vm_end - vm_start) in that case if you like.

    Hugh
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-12-08 20:36    [W:0.021 / U:29.472 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site