lkml.org 
[lkml]   [2005]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    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 gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
    | _way_ _around_!
    http://www.ozlabs.org/people/dgibson
    -
    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-07-07 13:58    [W:0.019 / U:0.912 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site