Skip to content

Add memrlimit controller (v4)

Balbir Singh linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Add memrlimit controller documentation (v4)Documentation/controllers/memrlimit.txt+29 -03 replies
2/4Setup the memrlimit controller (v4)include/linux/cgroup_subsys.h include/linux/memrlimitcgroup.h init/Kconfig +2 more+178 -01 reply
3/4cgroup mm owner callback changes to add task info (v4)include/linux/cgroup.h kernel/cgroup.c+3 -20 replies
4/4Add memrlimit controller accounting and control (v4)arch/ia64/kernel/perfmon.c arch/x86/kernel/ptrace.c fs/exec.c +4 more+157 -518 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchPavel Emelyanov
1/4
2/4A-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [-mm][PATCH 0/4] Add memrlimit controller (v4)

This is the fourth version of the address space control patches. These patches are against 2.6.26-rc2-mm1 and have been tested using KVM in SMP mode, both with and without the config enabled, on a powerpc box and using UML. The patches have also been compile tested with the config disabled on a powerpc box.

The goal of this patch is to implement a virtual address space controller using cgroups. The documentation describes the controller, it's goal and usage in further details.

The first patch adds the user interface. The second patch fixes the cgroup mm_owner_changed callback to pass the task struct, so that accounting can be adjusted on owner changes. The thrid patch adds accounting and control. The fourth patch updates documentation.

An earlier post of the patchset can be found at
http://lwn.net/Articles/275143/

This patch is built on top of the mm owner patches and utilizes that feature to virtually group tasks by mm_struct.

Reviews, Comments?

Changelog

1. Add documentation upfront
2. Refactor the code (error handling and changes to improvde code)
3. Protect reading of total_vm with mmap_sem
4. Port to 2.6.26-rc2
5. Changed the name from rlimit to memrlimit

Series

memrlimit-controller-add-documentation.patch memrlimit-controller-setup.patch cgroup-add-task-to-mm-owner-callbacks.patch memrlimit-controller-address-space-accounting-and-control.patch

Signature · 10 lines
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>