]> git.baikalelectronics.ru Git - kernel.git/commit
memsw: remove noswapaccount kernel parameter
authorMichal Hocko <mhocko@suse.cz>
Wed, 25 May 2011 00:12:50 +0000 (17:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 25 May 2011 15:39:36 +0000 (08:39 -0700)
commit07da8a86e8913d7491c6b7e121bf93ee5d39343b
tree1aaac1e831410ac3e59c969f05426315d2054c28
parent4ba2a642d1b84c3bd8326ff7f9e36e117b8c5f3e
memsw: remove noswapaccount kernel parameter

The noswapaccount parameter has been deprecated since 2.6.38 without any
complaints from users so we can remove it.  swapaccount=0|1 can be used
instead.

As we are removing the parameter we can also clean up swapaccount because
it doesn't have to accept an empty string anymore (to match noswapaccount)
and so we can push = into __setup macro rather than checking "=1" resp.
"=0" strings

Signed-off-by: Michal Hocko <mhocko@suse.cz>
Cc: Hiroyuki Kamezawa <kamezawa.hiroyuki@gmail.com>
Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/kernel-parameters.txt
mm/memcontrol.c