lkml.org 
[lkml]   [2008]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Re: [PATCH 4/13] memcg: force_empty moving account
----- Original Message -----
>> + spin_lock_irqsave(&mz->lru_lock, flags);
>> + } else {
>> + unlock_page(page);
>> + put_page(page);
>> + }
>> + if (atomic_read(&mem->css.cgroup->count) > 0)
>> + break;
>> }
>> spin_unlock_irqrestore(&mz->lru_lock, flags);
>
>do _NOT_ use yield() ever! unless you know what you're doing, and
>probably not even then.
>
>NAK!
Hmm, sorry. cond_resched() is ok ?

Thanks,
-Kame


\
 
 \ /
  Last update: 2008-09-22 16:53    [W:0.076 / U:111.400 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site