[PATCH 2/2] Add shrinker interface for mempressure cgroup

2013-01-04 Thread Anton Vorontsov
This commit implements Andrew Morton's idea of kernel-controlled userland reclaimer. This is very similar to the in-kernel shrinker, with one major difference: it is asynchronous, i.e. like kswapd. Note that the shrinker interface is not a substitution for the levels, the two interfaces report

[PATCH 2/2] Add shrinker interface for mempressure cgroup

2013-01-04 Thread Anton Vorontsov
This commit implements Andrew Morton's idea of kernel-controlled userland reclaimer. This is very similar to the in-kernel shrinker, with one major difference: it is asynchronous, i.e. like kswapd. Note that the shrinker interface is not a substitution for the levels, the two interfaces report