[parisc-linux] pgtable.h:acc_rights()

Thomas Bogendoerfer tsbogend@alpha.franken.de
Sat, 6 Nov 1999 21:48:59 +0100


On Sat, Nov 06, 1999 at 08:51:25PM +0100, Philipp Rumpf wrote:
> > Why is acc_rights written like this?
> 
> See my commit message.  Basically that works around the "pages mapped
>  read-only when they should be read-write" problem Thomas reported.

the real problem is, that we don't have a working copy on write at the 
moment. So whenever the first access to COW page is a read access, every
write access afterwards will lead to an unhandled page fault (which causes
a panic at the moment). 

Thomas.

-- 
   This device has completely bogus header. Compaq scores again :-|
It's a host bridge, but it should be called ghost bridge instead ;^)
                                        [Martin `MJ' Mares on linux-kernel]