]> git.baikalelectronics.ru Git - kernel.git/commit
memsw: deprecate noswapaccount kernel parameter and schedule it for removal
authorMichal Hocko <mhocko@suse.cz>
Tue, 1 Feb 2011 23:52:31 +0000 (15:52 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Feb 2011 00:03:18 +0000 (16:03 -0800)
commit80eb8d24e88b4efc77d4638d1f50273461822eda
tree9d3aed4ed1959aeedc05be5436910ced5afc6928
parente47471b5178af7406f83e7360160ce0f71c292f1
memsw: deprecate noswapaccount kernel parameter and schedule it for removal

noswapaccount couldn't be used to control memsw for both on/off cases so
we have added swapaccount[=0|1] parameter.  This way we can turn the
feature in two ways noswapaccount resp.  swapaccount=0.  We have kept the
original noswapaccount but I think we should remove it after some time as
it just makes more command line parameters without any advantages and also
the code to handle parameters is uglier if we want both parameters.

Signed-off-by: Michal Hocko <mhocko@suse.cz>
Requested-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/feature-removal-schedule.txt
mm/memcontrol.c