Skip to content

RFC Memory controller soft limit introduction (v3)

Balbir Singh linux-mm lkml 1 version In review

Get series with b4
b4 am 20080627151808.31664.36047.sendpatchset@balbir-laptop

Versions newest first

  1. v1 RFC Latest5 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Memory controller soft limit documentationDocumentation/controllers/memory.txt+16 -00 replies
2/5Add delete max to prio heapinclude/linux/prio_heap.h lib/prio_heap.c+48 -180 replies
3/5Replacement policy on heap overfullinclude/linux/prio_heap.h kernel/cgroup.c lib/prio_heap.c+32 -102 replies
4/5Memory controller soft limit resource counter additionsinclude/linux/res_counter.h kernel/res_counter.c mm/memcontrol.c+39 -40 replies
5/5Memory controller soft limit reclaim on contentioninclude/linux/memcontrol.h include/linux/res_counter.h mm/memcontrol.c +1 more+132 -19 replies

Reviews trailers per patch

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

PatchPaul Menage
1/5
2/5R-b
3/5
4/5
5/5

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

Read the v1 thread

Cover letter [RFC 0/5] Memory controller soft limit introduction (v3)

This patchset implements the basic changes required to implement soft limits in the memory controller. A soft limit is a variation of the currently supported hard limit feature. A memory cgroup can exceed it's soft limit provided there is no contention for memory.

These patches were tested on a x86_64 box, by running a programs in parallel, and checking their behaviour for various soft limit values.

These patches were developed on top of 2.6.26-rc5-mm3. Comments, suggestions, criticism are all welcome!

A previous version of the patch can be found at

http://kerneltrap.org/mailarchive/linux-kernel/2008/2/19/904114

TODOs:

1. Distribute the excessive (non-contended) resources between groups in the ratio of their soft limits
2. Merge with KAMEZAWA's and YAMAMOTO's water mark and background reclaim patches in the long-term

series
------
memory-controller-soft-limit-add-documentation.patch prio_heap_delete_max.patch prio_heap_replace_leaf.patch memory-controller-soft-limit-res-counter-updates.patch memory-controller-soft-limit-reclaim-on-contention.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>