[lkml]   [2009]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC mm][PATCH 4/5] add a lowmem check function
    On Thu, Dec 10, 2009 at 5:00 PM, KAMEZAWA Hiroyuki
    <> wrote:
    > From: KAMEZAWA Hiroyuki <>
    > Final purpose of this patch is for improving oom/memoy shortage detection
    > better. In general there are OOM cases that lowmem is exhausted. What
    > this lowmem means is determined by the situation, but in general,
    > limited amount of memory for some special use is lowmem.
    > This patch adds an integer lowmem_zone, which is initialized to -1.
    > If zone_idx(zone) <= lowmem_zone, the zone is lowmem.
    > This patch uses simple definition that the zone for special use is the lowmem.
    > Not taking the amount of memory into account.
    > For example,
    >  - if HIGHMEM is used, NORMAL is lowmem.
    >  - If the system has both of NORMAL and DMA32, DMA32 is lowmem.
    >  - When the system consists of only one zone, there are no lowmem.
    > This will be used for lowmem accounting per mm_struct and its information
    > will be used for oom-killer.
    > Changelog: 2009/12/09
    >  - stop using policy_zone and use unified definition on each config.
    > Signed-off-by: KAMEZAWA Hiroyuki <>
    Reviewed-by: Minchan Kim <>

    I like this than policy_zone version.

    Kind regards,
    Minchan Kim
    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: 2009-12-11 02:11    [W:0.020 / U:0.704 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site