Research
.
Skip Search Box

SELinux Mailing List

Re: [PATCH 11/22] CacheFiles: Permit the page lock state to be monitored

From: David Howells <dhowells_at_redhat.com>
Date: Sat, 22 Sep 2007 00:14:41 +0100

Trond Myklebust <Trond.Myklebust@netapp.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

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
Received on Fri 21 Sep 2007 - 19:14:57 EDT
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service