All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -mm 0/5] swapcgroup (v3)
@ 2008-07-04  6:15 ` Daisuke Nishimura
  0 siblings, 0 replies; 44+ messages in thread
From: Daisuke Nishimura @ 2008-07-04  6:15 UTC (permalink / raw)
  To: Linux Containers, Linux MM
  Cc: YAMAMOTO Takashi, KOSAKI Motohiro, Hugh Dickins, Balbir Singh,
	Pavel Emelyanov

Hi.

This is new version of swapcgroup.

Major changes from previous version
- Rebased on 2.6.26-rc5-mm3.
  The new -mm has been released, but these patches
  can be applied on 2.6.26-rc8-mm1 too with only some offset warnings.
  I tested these patches on 2.6.26-rc5-mm3 with some fixes about memory,
  and it seems to work fine.
- (NEW) Implemented force_empty.
  Currently, it simply uncharges all the charges from the group.

Patches
- [1/5] add cgroup files
- [2/5] add a member to swap_info_struct
- [3/5] implement charge and uncharge
- [4/5] modify vm_swap_full() 
- [5/5] implement force_empty

ToDo(in my thought. Feel free to add some others here.)
- need some documentation
  Add to memory.txt? or create a new documentation file?

- add option to disable only this feature
  I'm wondering if this option is needed.
  memcg has already the boot option to disable it.
  Is there any case where memory should be accounted but swap should not?

- hierarchy support
- move charges along with task
  Both of them need more discussion.


Thanks,
Daisuke Nishimura.

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

end of thread, other threads:[~2008-07-11 11:02 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-04  6:15 [PATCH -mm 0/5] swapcgroup (v3) Daisuke Nishimura
2008-07-04  6:15 ` Daisuke Nishimura
     [not found] ` <20080704151536.e5384231.nishimura-YQH0OdQVrdy45+QrQBaojngSJqDPrsil@public.gmane.org>
2008-07-04  6:17   ` [PATCH -mm 1/5] swapcgroup (v3): add cgroup files Daisuke Nishimura
2008-07-04  6:17     ` Daisuke Nishimura
     [not found]     ` <20080704151747.470d62a3.nishimura-YQH0OdQVrdy45+QrQBaojngSJqDPrsil@public.gmane.org>
2008-07-10 20:35       ` Dave Hansen
2008-07-10 20:35         ` Dave Hansen
2008-07-11 11:02         ` Daisuke Nishimura
2008-07-11 11:02           ` Daisuke Nishimura
2008-07-04  6:18   ` [PATCH -mm 2/5] swapcgroup (v3): add a member to swap_info_struct Daisuke Nishimura
2008-07-04  6:18     ` Daisuke Nishimura
2008-07-04  6:20   ` [PATCH -mm 3/5] swapcgroup (v3): implement charge and uncharge Daisuke Nishimura
2008-07-04  6:20     ` Daisuke Nishimura
2008-07-04  6:22   ` [PATCH -mm 4/5] swapcgroup (v3): modify vm_swap_full() Daisuke Nishimura
2008-07-04  6:22     ` Daisuke Nishimura
     [not found]     ` <20080704152244.7fc2ccd1.nishimura-YQH0OdQVrdy45+QrQBaojngSJqDPrsil@public.gmane.org>
2008-07-04  9:58       ` KAMEZAWA Hiroyuki
2008-07-04  9:58         ` KAMEZAWA Hiroyuki
     [not found]         ` <20080704185845.0baaca76.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2008-07-04 10:40           ` Daisuke Nishimura
2008-07-04 10:40             ` Daisuke Nishimura
2008-07-04  6:24   ` [PATCH -mm 5/5] swapcgroup (v3): implement force_empty Daisuke Nishimura
2008-07-04  6:24     ` Daisuke Nishimura
     [not found]     ` <20080704152423.f65932b3.nishimura-YQH0OdQVrdy45+QrQBaojngSJqDPrsil@public.gmane.org>
2008-07-04  6:54       ` YAMAMOTO Takashi
2008-07-04  6:54         ` YAMAMOTO Takashi
     [not found]         ` <20080704065431.A8BDC5A19-Pcsii4f/SVk@public.gmane.org>
2008-07-04  7:26           ` Daisuke Nishimura
2008-07-04  7:26             ` Daisuke Nishimura
     [not found]             ` <20080704162629.b06b6810.nishimura-YQH0OdQVrdy45+QrQBaojngSJqDPrsil@public.gmane.org>
2008-07-04  7:48               ` YAMAMOTO Takashi
2008-07-04  7:48                 ` YAMAMOTO Takashi
     [not found]                 ` <20080704074828.330DC5A19-Pcsii4f/SVk@public.gmane.org>
2008-07-04  7:56                   ` Daisuke Nishimura
2008-07-04  7:56                     ` Daisuke Nishimura
2008-07-04 10:16       ` KAMEZAWA Hiroyuki
2008-07-04 10:16         ` KAMEZAWA Hiroyuki
     [not found]         ` <20080704191638.b63892f5.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2008-07-04 12:33           ` Daisuke Nishimura
2008-07-04 12:33             ` Daisuke Nishimura
     [not found]             ` <20080704213301.7d476941.nishimura-YQH0OdQVrdy45+QrQBaojngSJqDPrsil@public.gmane.org>
2008-07-05  4:29               ` KAMEZAWA Hiroyuki
2008-07-05  4:29                 ` KAMEZAWA Hiroyuki
     [not found]                 ` <20080705132944.7cf07bd8.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2008-07-07  6:23                   ` Daisuke Nishimura
2008-07-07  6:23                     ` Daisuke Nishimura
2008-07-04  9:40   ` [PATCH -mm 0/5] swapcgroup (v3) KAMEZAWA Hiroyuki
2008-07-04  9:40     ` KAMEZAWA Hiroyuki
     [not found]     ` <20080704184033.7cac4b69.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2008-07-04 10:58       ` Daisuke Nishimura
2008-07-04 10:58         ` Daisuke Nishimura
2008-07-05  6:52   ` Balbir Singh
2008-07-05  6:52     ` Balbir Singh
     [not found]     ` <486F1A29.4020407-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2008-07-07  6:48       ` Daisuke Nishimura
2008-07-07  6:48         ` Daisuke Nishimura

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.