[lkml]   [2004]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] General purpose zeroed page slab
    On Thu, Oct 14, 2004 at 06:36:47PM -0500, Adam Heath wrote:
    > On Thu, 14 Oct 2004, Andi Kleen wrote:
    > > Also that's pretty dumb. How about keeping track how much of the
    > > page got non zeroed (e.g. by using a few free words in struct page
    > > for a coarse grained dirty bitmap)
    > >
    > > Then you could memset on free only the parts that got actually
    > > changed, and never waste cache lines for anything else.
    > That will fail when a struct is placed in the page, and only the beginning and
    > end of the struct was changed.

    Hmm? I think you're misunderstanding me. The dirty bitmap would cover
    all areas that are potentially not zero. If someone changes a byte
    without setting the bitmap they're buggy.

    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-03-22 14:07    [W:0.019 / U:9.008 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site