lkml.org 
[lkml]   [2009]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC][PATCH 4/8] memcg soft limit priority array queue.
    On Sun, 29 Mar 2009 22:26:20 +0530
    Balbir Singh <balbir@linux.vnet.ibm.com> wrote:

    > * KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> [2009-03-27 14:06:53]:
    >
    > > I'm now search a way to reduce lock contention without complex...
    > > -Kame
    > > ==
    > > From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
    > >
    > > +static void __mem_cgroup_requeue(struct mem_cgroup *mem)
    > > +{
    > > + /* enqueue to softlimit queue */
    > > + int prio = mem->soft_limit_priority;
    > > +
    > > + spin_lock(&softlimitq.lock);
    > > + list_del_init(&mem->soft_limit_anon);
    > > + list_add_tail(&mem->soft_limit_anon, &softlimitq.queue[prio][SL_ANON]);
    > > + list_del_init(&mem->soft_limit_file,ist[SL_FILE]);
    >
    > Patch fails to build here, what is ist?
    >
    Hm...my patech is broken ?
    &softlimitq.queue[prio][SL_FILE]

    -Kame.



    \
     
     \ /
      Last update: 2009-03-31 02:03    [W:0.021 / U:0.736 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site