lkml.org 
[lkml]   [2005]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [Lhms-devel] [PATCH 0/7] Fragmentation Avoidance V19


    On Thu, 3 Nov 2005, Martin J. Bligh wrote:
    >
    > But pages_min is based on the zone size, not the system size. And we
    > still cap it. Maybe that's just a mistake?

    The per-zone watermarking is actually the "modern" and "working" approach.

    We didn't always do it that way. I would not be at all surprised if the
    capping was from the global watermarking days.

    Of course, I would _also_ not be at all surprised if it wasn't just out of
    habit. Most of the things where we try to scale things up by memory size,
    we cap for various reasons. Ie we tend to try to scale things like hash
    sizes for core data structures by memory size, but then we tend to cap
    them to "sane" versions.

    So quite frankly, it's entirely possible that the capping is there not
    because it _ever_ was a good idea, but just because it's what we almost
    always do ;)

    Mental inertia is definitely alive and well.

    Linus
    -
    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: 2009-11-18 23:46    [W:0.021 / U:59.640 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site