Re: [PATCH 2/7] mm: vmscan: Convert lumpy_mode into a bitmask

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Weiner
Date: Wednesday, December 1, 2010 - 4:21 am

On Wed, Dec 01, 2010 at 10:50:29AM +0000, Mel Gorman wrote:

Sounds like a boolean value to me.  And it shows: you never actually
check for RECLAIM_MODE_ASYNC in the code, you just always set it to
the opposite of RECLAIM_MODE_SYNC - the flag which is actually read.


That is true, because this is still an actual tristate.  It's probably
better to defer until lumpy reclaim is gone and there is only one flag
for higher-order reclaim left.


Thanks :)
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/7] mm: vmscan: Convert lumpy_mode into a bitmask, Johannes Weiner, (Wed Dec 1, 4:21 am)