On Thu, 2005-12-08 at 19:33 +0000, Hugh Dickins wrote: > 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. I think the reason Badari was looking at it was that some DB guys want to get some statistics out of there. They'll certainly care about HugeTLB pages. With the HugeTLB prefault mechanism having gone away, we can't assume that the pages are resident. So, I don't think just using the VMA's size will work. -- Dave - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: 2.6.15-rc4 panic in __nr_to_section() with CONFIG_SPARSEMEM
- From: Badari Pulavarty <[email protected]>
- Re: 2.6.15-rc4 panic in __nr_to_section() with CONFIG_SPARSEMEM
- References:
- 2.6.15-rc4 panic in __nr_to_section() with CONFIG_SPARSEMEM
- From: Badari Pulavarty <[email protected]>
- Re: 2.6.15-rc4 panic in __nr_to_section() with CONFIG_SPARSEMEM
- From: Andy Whitcroft <[email protected]>
- Re: 2.6.15-rc4 panic in __nr_to_section() with CONFIG_SPARSEMEM
- From: Badari Pulavarty <[email protected]>
- Re: 2.6.15-rc4 panic in __nr_to_section() with CONFIG_SPARSEMEM
- From: Dave Hansen <[email protected]>
- Re: 2.6.15-rc4 panic in __nr_to_section() with CONFIG_SPARSEMEM
- From: Badari Pulavarty <[email protected]>
- Re: 2.6.15-rc4 panic in __nr_to_section() with CONFIG_SPARSEMEM
- From: Dave Hansen <[email protected]>
- Re: 2.6.15-rc4 panic in __nr_to_section() with CONFIG_SPARSEMEM
- From: Hugh Dickins <[email protected]>
- 2.6.15-rc4 panic in __nr_to_section() with CONFIG_SPARSEMEM
- Prev by Date: [patch] x86_64: align and pad x86_64 GDT on page boundary
- Next by Date: Re: 2.6.15-rc4 panic in __nr_to_section() with CONFIG_SPARSEMEM
- Previous by thread: Re: 2.6.15-rc4 panic in __nr_to_section() with CONFIG_SPARSEMEM
- Next by thread: Re: 2.6.15-rc4 panic in __nr_to_section() with CONFIG_SPARSEMEM
- Index(es):