lkml.org 
[lkml]   [2009]   [Mar]   [29]   [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.
    * 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?

    > + list_add_tail(&mem->soft_limit_file, &softlimitq.queue[prio][SL_FILE]);
    > + spin_unlock(&softlimitq.lock);
    > +}
    >

    --
    Balbir


    \
     
     \ /
      Last update: 2009-03-29 18:59    [W:0.027 / U:31.004 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site