lkml.org 
[lkml]   [2009]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC mm][PATCH 4/5] add a lowmem check function
On Thu, 10 Dec 2009, KAMEZAWA Hiroyuki wrote:

> This patch adds an integer lowmem_zone, which is initialized to -1.
> If zone_idx(zone) <= lowmem_zone, the zone is lowmem.

There is already a policy_zone in mempolicy.h. lowmem is if the zone
number is lower than policy_zone. Can we avoid adding another zone
limiter?




\
 
 \ /
  Last update: 2009-12-10 19:01    [W:0.160 / U:0.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site