[lkml]   [2005]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 0/4] Swap migration V3: Overview
    Marcelo Tosatti <> wrote:
    > The fair approach would be to have the
    > number of pages to reclaim also relative to zone size.
    > sc->nr_to_reclaim = (zone->present_pages * sc->swap_cluster_max) /
    > total_memory;

    You can try it, but that shouldn't matter. SWAP_CLUSTER_MAX is just a
    batching factor used to reduce CPU consumption. If you make it twice as
    bug, we run DMA-zone reclaim half as often - it should balance out.

    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-10-27 22:47    [W:0.020 / U:30.776 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site