[PATCH] Treat ISI faults as read faults on classic 32-bit PowerPC

Paul Mackerras paulus at samba.org
Fri Jul 20 09:40:11 EST 2007


Segher Boessenkool writes:

> Should you really be testing VM_READ|VM_WRITE, or should it just
> be VM_READ?

We test VM_READ | VM_WRITE | VM_EXEC in the read case below, and that
is because we have no HPTE encoding to say "writable but not readable"
or "executable but not readable".  Similarly we have no encoding to
say "writable but not executable" on classic processors, so if you
have just VM_WRITE set, you get a page that is readable, writable and
executable.

Paul.



More information about the Linuxppc-dev mailing list