lkml.org 
[lkml]   [2008]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC][PATCH 1/5] memcg : force_empty to do move account
From
On Mon, Nov 3, 2008 at 10:17 PM, KAMEZAWA Hiroyuki
<kamezawa.hiroyu@jp.fujitsu.com> wrote:
>> >
>> > mem = memcg;
>> > - ret = mem_cgroup_try_charge(mm, gfp_mask, &mem);
>> > + ret = __mem_cgroup_try_charge(mm, gfp_mask, &mem, true);
>>
>> Isn't this the same as the definition of mem_cgroup_try_charge()? So
>> you could leave it as-is?
>>
> try_charge is called by other places....swapin.
>

No, I mean here you can call mem_cgroup_try_charge(...) rather than
__mem_cgroup_try_charge(..., true).

Paul


\
 
 \ /
  Last update: 2008-11-04 07:25    [W:0.043 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site