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()
On Wed, Sep 14, 2011 at 2:53 PM, Hugh Dickins <hughd@google.com> wrote:
>
> Thanks, Eric, though it may not be worth spending your time on it.
> It occurred to me over lunch that it may take painfully longer than
> expected to invalidate_mapping_pages() on a single-swapped-out-page
> 1TB sparse tmpfs file - all those "start += 1" restarts until it
> reaches the end.

So can we have a stop-gap patch to just fixes it for now? I assume
that would be Shaohua's patch with the "nr_found > nr_skip" change?

Can you guys send whatever patch is appropriate for now with a nice
changelog and the appropriate sign-offs, please? So that we can at
least close the issue...

Linus


\
 
 \ /
  Last update: 2011-09-15 00:39    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog