[PATCH] memory cgroup enhancements take 4 [0/8] intro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, this set is for enhancements for memory cgroup I have now.
Tested on x86_64 and passed some tests.
All are against 2.6.23-mm1 + previous memory cgroup bugfix patches.

Any comments are welcome.

Patch contents:

[1/8] .... fix zone handling in try_to_free_mem_cgroup_page
		This is bug fix.

[2/8] .... force_empty interface for dropping all account in empty cgroup
		enhancements for easy deleting empty cgroup which was used
 		for memory control. Without this, deleting will fail
		in many case.

[3/8] .... remember "a page is charged as page cache"
		record as what a page is charged.

[4/8] .... remember "a page is on active list of cgroup or not"
		for future use. (can be skipped.)
		will be useful for reclaim routine enhance

[5/8] .... add status accounting function for memory cgroup
		infrastructure for accounting.
		will be used in memory.stat file

[6/8] .... add memory.stat file
		showing # of RSS and CACHEes by memory.stat file
		and other *memory specific* data in future.

[7/8] .... pre destroy handler
		add cgroup pre_destroy handler before calling destroy handler.

[8/8] .... implicit force_empty at rmdir()
		call force_empty in pre_destroy handler.
		This allows rmdir() to success always if cgroup is empty.

Reflected all comments against take3 and dropped zonestat.

Thanks,
-Kame

_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux