Re: [PATCH 3/6] mm: CONFIG_MMU for PG_mlocked

Andi Kleen
2009-11-11T12:38:33Z

On Tue, Nov 10, 2009 at 09:59:23PM +0000, Hugh Dickins wrote:
> Remove three degrees of obfuscation, left over from when we had
> CONFIG_UNEVICTABLE_LRU. MLOCK_PAGES is CONFIG_HAVE_MLOCKED_PAGE_BIT
> is CONFIG_HAVE_MLOCK is CONFIG_MMU. rmap.o (and memory-failure.o)
> are only built when CONFIG_MMU, so don't need such conditions at all.

Thanks. The memory-failure.c change looks good and indeeds
it's overall less confusing.
-Andi