[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTikgxKNx1eyR1m6NpVA5Ykfduzq-Mw@mail.gmail.com>
Date: Tue, 28 Jun 2011 10:02:15 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Andrew Morton <akpm@...ux-foundation.org>,
Russell King <rmk+kernel@....linux.org.uk>,
Thomas Gleixner <tglx@...utronix.de>,
Peter Zijlstra <peterz@...radead.org>,
Gleb Natapov <gleb@...hat.com>,
Hugh Dickins <hughd@...gle.com>,
Rik van Riel <riel@...hat.com>,
Michel Lespinasse <walken@...gle.com>,
Avi Kivity <avi@...hat.com>,
Marcelo Tosatti <mtosatti@...hat.com>
Subject: Re: [PATCH 2/2] mm: Document handle_mm_fault()
On Tue, Jun 28, 2011 at 9:47 AM, Steven Rostedt <rostedt@...dmis.org> wrote:
> + * Note: if @flags has FAULT_FLAG_ALLOW_RETRY set then the mmap_sem
> + * may be released if it failed to arquire the page_lock. If the
> + * mmap_sem is released then it will return VM_FAULT_RETRY set.
> + * This is to keep the time mmap_sem is held when the page_lock
> + * is taken for IO.
So I know what that flag does, but I knew it without the comment.
WITH the comment, I'm just confused. "This is to keep the time
mmap_sem is held when the page_lock is taken for IO."
Sounds like a google translation from swahili. "keep the time" what?
Maybe "keep" -> "minimize"? Or just "This is to avoid holding mmap_sem
while waiting for IO"
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