]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Change ISOLATE_XXX macro with bitwise isolate_mode_t type. Normally,
authorMinchan Kim <minchan.kim@gmail.com>
Wed, 24 Aug 2011 23:46:44 +0000 (09:46 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Sep 2011 05:27:15 +0000 (15:27 +1000)
commit945d1d9c76a69d72a5aae597fbca39a1200fd67b
treecd3cdb0c73f8f9f3774c88bb5cc318414da35a1d
parent1091cc1a2164cf2cda21f2228f9732610e3794eb
Change ISOLATE_XXX macro with bitwise isolate_mode_t type.  Normally,
macro isn't recommended as it's type-unsafe and making debugging harder as
symbol cannot be passed throught to the debugger.

Quote from Johannes
" Hmm, it would probably be cleaner to fully convert the isolation mode
into independent flags.  INACTIVE, ACTIVE, BOTH is currently a
tri-state among flags, which is a bit ugly."

This patch moves isolate mode from swap.h to mmzone.h by memcontrol.h

Signed-off-by: Minchan Kim <minchan.kim@gmail.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Rik van Riel <riel@redhat.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/trace/postprocess/trace-vmscan-postprocess.pl
include/linux/memcontrol.h
include/linux/mmzone.h
include/linux/swap.h
include/trace/events/vmscan.h
mm/compaction.c
mm/memcontrol.c
mm/vmscan.c