Re: [PATCH v5 01/14] memcg: Make it possible to use the stock for more than one page.

2012-10-18 Thread Glauber Costa
On 10/18/2012 02:11 AM, Andrew Morton wrote: > On Tue, 16 Oct 2012 14:16:38 +0400 > Glauber Costa wrote: > >> From: Suleiman Souhlal >> >> We currently have a percpu stock cache scheme that charges one page at a >> time from memcg->res, the user counter. When the kernel memory >> controller come

Re: [PATCH v5 01/14] memcg: Make it possible to use the stock for more than one page.

2012-10-17 Thread Andrew Morton
On Tue, 16 Oct 2012 14:16:38 +0400 Glauber Costa wrote: > From: Suleiman Souhlal > > We currently have a percpu stock cache scheme that charges one page at a > time from memcg->res, the user counter. When the kernel memory > controller comes into play, we'll need to charge more than that. > >

[PATCH v5 01/14] memcg: Make it possible to use the stock for more than one page.

2012-10-16 Thread Glauber Costa
From: Suleiman Souhlal We currently have a percpu stock cache scheme that charges one page at a time from memcg->res, the user counter. When the kernel memory controller comes into play, we'll need to charge more than that. This is because kernel memory allocations will also draw from the user c