lkml.org 
[lkml]   [2011]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [BUG] infinite loop in find_get_pages()
Again, sorry for the possible duplicates - but it looks like my email
hasn't been going out.

Linus

On Tue, Sep 13, 2011 at 6:26 PM, Linus Torvalds
<torvalds@linux-foundation.org> wrote:
> On Tue, Sep 13, 2011 at 12:23 PM, Eric Dumazet <eric.dumazet@gmail.com> wrote:
>>
>> while :
>> do
>>  echo 3 >/proc/sys/vm/drop_caches
>>  sleep 20
>> done
>
> Btw, do you actually have problems without this?
>
> The drop_caches thing could potentially result in a livelock, where
> we're dropping stuff as we are reading it in, and the reader just
> never makes progress (because dropping things is always faster than
> reading).
>
> So it may not be a "true lockup", it may just be really *really* slow,
> and wasting tons of CPU.
>
> It is possible that we should look at modifying the drop_caches code
> so that it always makes forward progress..
>
>                            Linus
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-09-14 08:51    [W:1.466 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site