Re: [PATCH v11 06/15] memcg: per-memcg kmem shrinking

2013-11-25 Thread Johannes Weiner
On Mon, Nov 25, 2013 at 04:07:39PM +0400, Vladimir Davydov wrote: > From: Glauber Costa > > If the kernel limit is smaller than the user limit, we will have > situations in which our allocations fail but freeing user pages will buy > us nothing. In those, we would like to call a specialized memc

[PATCH v11 06/15] memcg: per-memcg kmem shrinking

2013-11-25 Thread Vladimir Davydov
From: Glauber Costa If the kernel limit is smaller than the user limit, we will have situations in which our allocations fail but freeing user pages will buy us nothing. In those, we would like to call a specialized memcg reclaimer that only frees kernel memory and leave the user memory alone. T

[PATCH v11 06/15] memcg: per-memcg kmem shrinking

2013-10-24 Thread Vladimir Davydov
From: Glauber Costa If the kernel limit is smaller than the user limit, we will have situations in which our allocations fail but freeing user pages will buy us nothing. In those, we would like to call a specialized memcg reclaimer that only frees kernel memory and leave the user memory alone. T