From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Subject: Re: Where does a process wait after requesting some data file ? Date: Sat, 17 Jan 2009 14:06:18 -0700 Message-ID: <20090117210617.GA30719@parisc-linux.org> References: <38b2ab8a0901150550w7106f6ebwa7ae36f6f0d9ad3d@mail.gmail.com> <20090115140013.GC29283@parisc-linux.org> <38b2ab8a0901160830w4146f23eud562f4a9dd956184@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org To: Francis Moreau Return-path: Received: from palinux.external.hp.com ([192.25.206.14]:56869 "EHLO mail.parisc-linux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932705AbZAQVGf (ORCPT ); Sat, 17 Jan 2009 16:06:35 -0500 Content-Disposition: inline In-Reply-To: <38b2ab8a0901160830w4146f23eud562f4a9dd956184@mail.gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, Jan 16, 2009 at 05:30:12PM +0100, Francis Moreau wrote: > > As the comment says, when the read finishes, it will unlock the page > > and the reader will continue. > > I expect that the comment you're talking about is this one in > do_generic_file_read(): > > page_not_up_to_date: > /* Get exclusive access to the page ... */ I meant this one: readpage: /* Start the actual read. The read will unlock the page. */ -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step."