lkml.org 
[lkml]   [2002]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjecthugetlb: No coalescing of adjacent mappings in /proc/pid/maps
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.023 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site