Re: Subtle MM bug

Trond Myklebust (trond.myklebust@fys.uio.no)
09 Jan 2001 20:29:02 +0100


>>>>> " " == Daniel Phillips <phillips@innominate.de> writes:

> Linus Torvalds wrote:
>> (This is why I worked so hard at getting the PageDirty
>> semantics right in the last two months or so - and why I
>> released 2.4.0 when I did. Getting PageDirty right was the big
>> step to make all of the VM stuff possible in the first
>> place. Even if it probably looked a bit foolhardy to change the
>> semantics of "writepage()" quite radically just before 2.4 was
>> released).

> On the topic of writepage, it's not symmetric with readpage at
> the moment - it still takes (struct file *). Is this in the
> cleanup pipeline? It looks like nfs_readpage already ignores
> the struct file *, but maybe some other net filesystems are
> still depending on it.

NO! We definitely want to pass the struct file down to nfs_readpage()
when it's available.

Al has mentioned that he wants us to move towards a *BSD-like system
of credentials (i.e. struct ucred) that could be used here, but that's
in the far future. In the meantime, we cache RPC credentials in the
struct file...

Cheers,
Trond
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/