[lkml]   [2005]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: RFC: Hugepage COW

On Thu, Jul 07, 2005 at 09:49:27AM +0300, Avi Kivity wrote:
> On Thu, 2005-07-07 at 15:55 +1000, David Gibson wrote:
> > MAP_PRIVATE|MAP_WRITE mappings of hugetlbfs. Because the pool of
> > hugepages is limited, a write to a MAP_PRIVATE hugepage region may
> > result in a SIGBUS, if a new hugepage cannot be allocated. This patch
> in that case you might allocate regular pages for the new copy.

That's not necessarily possible. On some archs - ppc64 for one -
the mmu has to be set up for hugepages on a granularity greater than
the hugepage size. So you can just arbitrarily substitute normal
pages for hugepages.

David Gibson | I'll have my music baroque, and my code
david AT | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-07-07 13:58    [W:0.089 / U:5.980 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site