lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 13 Sep 2011 23:48:58 -0700
From:	Linus Torvalds <torvalds@...ux-foundation.org>
To:	Eric Dumazet <eric.dumazet@...il.com>
Cc:	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [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@...ux-foundation.org> wrote:
> On Tue, Sep 13, 2011 at 12:23 PM, Eric Dumazet <eric.dumazet@...il.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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ