[lkml]   [2011]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v8 2/9] foundations of per-cgroup memory pressure controlling.
On 12/08/2011 11:24 PM, KAMEZAWA Hiroyuki wrote:
> On Mon, 5 Dec 2011 19:34:56 -0200
> Glauber Costa<> wrote:
>> This patch replaces all uses of struct sock fields' memory_pressure,
>> memory_allocated, sockets_allocated, and sysctl_mem to acessor
>> macros. Those macros can either receive a socket argument, or a mem_cgroup
>> argument, depending on the context they live in.
>> Since we're only doing a macro wrapping here, no performance impact at all is
>> expected in the case where we don't have cgroups disabled.
>> Signed-off-by: Glauber Costa<>
>> CC: David S. Miller<>
>> CC: Hiroyouki Kamezawa<>
>> CC: Eric W. Biederman<>
>> CC: Eric Dumazet<>
> please get ack from network guys.
> from me.
> Reviewed-by: KAMEZAWA Hiroyuki<>

I think that now with all the Reviewed-by:'s I will resend it as a
Request for Inclusion for Dave (plus fixing the problem you noted in
patch 1)

 \ /
  Last update: 2011-12-09 13:43    [W:0.052 / U:5.336 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site