hugetlb: No coalescing of adjacent mappings in /proc/pid/maps

From: dada1 (dada1@cosmosbay.com)
Date: Wed Nov 06 2002 - 01:26:44 EST


Hello William

I noticed a small problem if a process allocates hugetlb memory using

sys_alloc_hugepages(0, 0, 4*1024*1024, PROT_READ|PROT_WRITE, 0) ;

If this process uses a lot of hugetlb pages, its /proc/pid/maps contains one
entry for each mapping.

Could it be possible to coalesce all consecutive mappings onto only one ? As
standard mmap() calls do ?

-
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/



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:42 EST