[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <10150.1190416481@redhat.com>
Date: Sat, 22 Sep 2007 00:14:41 +0100
From: David Howells <dhowells@...hat.com>
To: Trond Myklebust <Trond.Myklebust@...app.com>
Cc: dhowells@...hat.com, viro@....linux.org.uk, hch@...radead.org,
sds@...ho.nsa.gov, casey@...aufler-ca.com,
linux-kernel@...r.kernel.org, selinux@...ho.nsa.gov,
linux-security-module@...r.kernel.org
Subject: Re: [PATCH 11/22] CacheFiles: Permit the page lock state to be monitored
Trond Myklebust <Trond.Myklebust@...app.com> wrote:
> > This is used by CacheFiles to detect read completion on a page in the
> > backing filesystem so that it can then copy the data to the waiting netfs
> > page.
>
> Won't it in any case want to lock the page too?
No. Why would it? All it wants to do is to read the page (copying it to the
netfs's page), assuming it becomes PG_uptodate.
> That would be the only way to ensure that the page is still mapped into the
> address space when you're writing it out...
I don't understand what you're getting at. Write the page out where? We've
just read it in from the cache, so why would we be writing it back out?
David
-
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