Messages in this thread | | | From | Linus Torvalds <> | Date | Tue, 13 Sep 2011 23:48:58 -0700 | 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@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/
| |