linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH] Make swap accounting default behavior configurable
@ 2010-11-10 12:51 Michal Hocko
  2010-11-11  0:46 ` Daisuke Nishimura
  0 siblings, 1 reply; 12+ messages in thread
From: Michal Hocko @ 2010-11-10 12:51 UTC (permalink / raw)
  To: linux-mm; +Cc: KAMEZAWA Hiroyuki, linux-kernel

Hi,
could you consider the patch bellow? It basically changes the default
swap accounting behavior (when it is turned on in configuration) to be
configurable as well. 

The rationale is described in the patch but in short it makes it much
more easier to enable this feature in distribution kernels as the
functionality can be provided in the general purpose kernel (with the
option disabled) without any drawbacks and interested users can enable
it. This is not possible currently.

I am aware that boot command line parameter name change is not ideal but
the original semantic wasn't good enough and I don't like
noswapaccount=yes|no very much. 

If we really have to stick to it I can rework the patch to keep the name
and just add the yes|no logic, though. Or we can keep the original one
and add swapaccount paramete which would mean the oposite as the other
one.

The patch is based on the current Linus tree.

Any thoughts?
---

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-11-16 10:05 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-10 12:51 [RFC PATCH] Make swap accounting default behavior configurable Michal Hocko
2010-11-11  0:46 ` Daisuke Nishimura
2010-11-11  9:31   ` Michal Hocko
2010-11-12  0:41     ` Daisuke Nishimura
2010-11-12  8:31       ` [RFC PATCH] Make swap accounting default behavior configurable v2 Michal Hocko
2010-11-15  1:13         ` Daisuke Nishimura
2010-11-15  2:03           ` Balbir Singh
2010-11-15  2:31             ` Daisuke Nishimura
2010-11-15  8:35           ` [RFC PATCH] Make swap accounting default behavior configurable v3 Michal Hocko
2010-11-16  4:48             ` Daisuke Nishimura
2010-11-16  8:15               ` Michal Hocko
2010-11-16 10:03                 ` Daisuke Nishimura

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).