]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit552b372ba9db85751e7db2998f07cca2e51f5865
tree9d3aed4ed1959aeedc05be5436910ced5afc6928
parentfceda1bf498677501befc7da72fd2e4de7f18466
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