All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC/PATCH 0/6] memcg: peformance improvement at el. v3
@ 2008-05-14  8:02 ` KAMEZAWA Hiroyuki
  0 siblings, 0 replies; 28+ messages in thread
From: KAMEZAWA Hiroyuki @ 2008-05-14  8:02 UTC (permalink / raw)
  To: LKML
  Cc: linux-mm@kvack.org, balbir@linux.vnet.ibm.com,
	lizf@cn.fujitsu.com, xemul@openvz.org, yamamoto@valinux.co.jp,
	hugh@veritas.com, Andrew Morton

This set is for memory resource controller, reviewer and testers. 

Updated against 2.6.26-rc2 and added fixes.

This set does
 - remove refcnt from page_cgroup. By this, codes can be simplified and
   we can avoid tons of unnecessary calls just for maintain refcnt.
 - handle swap-cache, which is now ignored by memory resource controller.
 - small optimization.
 - make force_empty to drop pages. (NEW)
 
major changes : v2 -> v3
 - fixed shared memory handling.
 - added a call to request recalaim memory from specified memcg (NEW) for shmem.
 - added drop_all_pages_in_mem_cgroup before calling force_empty()
 - dropped 3 patches because it's already sent to -mm queue.

 1/6 -- make force_empty to drop pages. (NEW)
 2/6 -- remove refcnt from page_cgroup (shmem handling is fixed.)
 3/6 -- handle swap cache
 4/6 -- add an interface to reclaim memory from memcg (NEW) (for shmem)
 5/6 -- small optimzation with likely()/unlikely()
 6/6 -- remove redundant check.

If positive feedback, I'd like to send some of them agaisnt -mm queue.

This is based on
  - 2.6.26-rc2 
  - memcg-avoid-unnecessary-initialization.patch (in -mm queue)
  - memcg-make-global-var-read_mostly.patch (in -mm queue)
  - memcg-better-migration-handling.patch (in -mm queue)
tested on x86-64 box. Seems to work very well.

Any comments are welcome.

Thanks,
-Kame


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

end of thread, other threads:[~2008-05-15  3:34 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-14  8:02 [RFC/PATCH 0/6] memcg: peformance improvement at el. v3 KAMEZAWA Hiroyuki
2008-05-14  8:02 ` KAMEZAWA Hiroyuki
2008-05-14  8:04 ` [RFC/PATCH 1/6] memcg: drop_pages at force_empty KAMEZAWA Hiroyuki
2008-05-14  8:04   ` KAMEZAWA Hiroyuki
2008-05-14  8:07 ` [RFC/PATCH 2/6] memcg: remove refcnt KAMEZAWA Hiroyuki
2008-05-14  8:07   ` KAMEZAWA Hiroyuki
2008-05-15  1:42   ` Li Zefan
2008-05-15  1:42     ` Li Zefan
2008-05-15  1:57     ` KAMEZAWA Hiroyuki
2008-05-15  1:57       ` KAMEZAWA Hiroyuki
2008-05-15  3:34       ` KAMEZAWA Hiroyuki
2008-05-15  3:34         ` KAMEZAWA Hiroyuki
2008-05-14  8:08 ` [RFC/PATCH 3/6] memcg: handle swapcache KAMEZAWA Hiroyuki
2008-05-14  8:08   ` KAMEZAWA Hiroyuki
2008-05-14  8:10 ` [RFC/PATCH 4/6] memcg: shmem reclaim helper KAMEZAWA Hiroyuki
2008-05-14  8:10   ` KAMEZAWA Hiroyuki
2008-05-14  8:15   ` Li Zefan
2008-05-14  8:15     ` Li Zefan
2008-05-14  8:25     ` KAMEZAWA Hiroyuki
2008-05-14  8:25       ` KAMEZAWA Hiroyuki
2008-05-14  8:23       ` Li Zefan
2008-05-14  8:23         ` Li Zefan
2008-05-14  8:32         ` KAMEZAWA Hiroyuki
2008-05-14  8:32           ` KAMEZAWA Hiroyuki
2008-05-14  8:11 ` [RFC/PATCH 5/6] memcg: optimize branch KAMEZAWA Hiroyuki
2008-05-14  8:11   ` KAMEZAWA Hiroyuki
2008-05-14  8:13 ` [RFC/PATCH 6/6] memcg: remove redundant check at charge KAMEZAWA Hiroyuki
2008-05-14  8:13   ` KAMEZAWA Hiroyuki

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.