lkml.org 
[lkml]   [2010]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH 0/2] Reduce the amount of time spent in watermark-related functions
    Date
    The following two patches are in response to a bug report by Shaohua Li
    where the amount of time spent in zone_nr_free_pages() is unacceptable
    for large machines. All the background is in the first patches leader. The
    second patch replaces two setter functions with one function that takes a
    callback function as a parameter.

    Mel Gorman (2):
    mm: page allocator: Adjust the per-cpu counter threshold when memory
    is low
    mm: vmstat: Use a single setter function and callback for adjusting
    percpu thresholds

    include/linux/mmzone.h | 10 +++-------
    include/linux/vmstat.h | 7 +++++++
    mm/mmzone.c | 21 ---------------------
    mm/page_alloc.c | 35 +++++++++++++++++++++++++++--------
    mm/vmscan.c | 25 +++++++++++++++----------
    mm/vmstat.c | 32 +++++++++++++++++++++++++++++---
    6 files changed, 81 insertions(+), 49 deletions(-)



    \
     
     \ /
      Last update: 2010-10-27 10:49    [W:0.021 / U:30.364 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site