[lkml]   [2007]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [rfc] no ZERO_PAGE?
    On Wed, Apr 04, 2007 at 08:35:30AM -0700, Linus Torvalds wrote:
    > Anyway, I'm not against this, but I can see somebody actually *wanting*
    > the ZERO page in some cases. I've used the fact for TLB testing, for
    > example, by just doing a big malloc(), and knowing that the kernel will
    > re-use the ZERO_PAGE so that I don't get any cache effects (well, at least
    > not any *physical* cache effects. Virtually indexed cached will still show
    > effects of it, of course, but I haven't cared).

    Ok, those cases wanting the same zero page, could be fairly easily
    converted to an mmap over /dev/zero (without having to run 4k large
    mmap syscalls or nonlinear).
    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-04-04 17:51    [W:0.018 / U:12.548 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site