Re: [RFC] ext2 and ext3 block reservations can be bypassed

From: Alexander Viro (viro@math.psu.edu)
Date: Sun May 12 2002 - 17:53:36 EST


On Mon, 13 May 2002, Peter Chubb wrote:

> This is why in SVr4, struct cred is cloned at open time, and passed
> down to each VFS operation.

That doesn't work for shared mappings over holes. Unfortunately.
Yes, credentials cache a-la 4.4BSD would help in many cases, but
we have no reasonably credentials when kswapd writes a dirty page
on disk. It _can_ cause allocations. And many processes might've
touched that page until it finally got written out - which credentials
would you use?

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



This archive was generated by hypermail 2b29 : Tue May 14 2002 - 12:00:18 EST