[lkml]   [2007]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)
    On Wed, 2007-03-07 at 01:07 -0800, Andrew Morton wrote:
    > On Wed, 07 Mar 2007 09:51:57 +0100 Miklos Szeredi <> wrote:
    > > > > Dirty page accounting doesn't work either on
    > > > > non-linear mappings
    > > >
    > > > It doesn't? Confused - these things don't have anything to do with each
    > > > other do they?
    > >
    > > Look in page_mkclean(). Where does it handle non-linear mappings?
    > >
    > OK, I'd forgotten about that. It won't break dirty memory accounting,
    > but it'll potentially break dirty memory balancing.
    > If we have the wrong page (due to nonlinear), page_check_address() will
    > fail and we'll leave the pte dirty. That puts us back to the pre-2.6.17
    > algorithms and I guess it'll break the msync guarantees.
    > Peter, I thought we went through the nonlinear problem ages ago and decided
    > it was OK?

    Can recollect as much, I modelled it after page_referenced() and can't
    find any VM_NONLINEAR specific code in there either.

    Will have a hard look, but if its broken, then page_referenced if
    equally broken it seems, which would make page reclaim funny in the
    light of nonlinear mappings.

    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: 2007-03-07 10:37    [W:0.021 / U:0.152 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site