]> Git Repo - linux.git/commit - mm/rmap.c
mm: CONFIG_MMU for PG_mlocked
authorHugh Dickins <[email protected]>
Tue, 15 Dec 2009 01:58:59 +0000 (17:58 -0800)
committerLinus Torvalds <[email protected]>
Tue, 15 Dec 2009 16:53:17 +0000 (08:53 -0800)
commitaf8e3354b4bbd1ee5a3a55d11a5e1fe37e77f0ba
tree8dc0ece80878d00409d4662c5fd1e28cd7fbbdd8
parent53f79acb6ecb648afd63e0f13deba167f1a934df
mm: CONFIG_MMU for PG_mlocked

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.

Somehow, I feel no compulsion to remove the CONFIG_HAVE_MLOCK* lines from
169 defconfigs: leave those to evolve in due course.

Signed-off-by: Hugh Dickins <[email protected]>
Cc: Izik Eidus <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Nick Piggin <[email protected]>
Reviewed-by: KOSAKI Motohiro <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Lee Schermerhorn <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: Wu Fengguang <[email protected]>
Cc: Minchan Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/page-flags.h
mm/Kconfig
mm/internal.h
mm/memory-failure.c
mm/page_alloc.c
mm/rmap.c
This page took 0.049371 seconds and 4 git commands to generate.