Re: [PATCH 1/4] MIPS: Replace _PAGE_READ with _PAGE_NO_READ

From: David Daney
Date: Mon Apr 18 2011 - 14:52:29 EST


On 04/18/2011 11:24 AM, Kevin Cernekee wrote:
On Mon, Apr 18, 2011 at 10:32 AM, David Daney<ddaney@xxxxxxxxxxxxxxxxxx> wrote:
How much testing have you done on non-RI/XI CPUs?

On a non-RIXI CPU I was able to boot the system, run a basic GUI
application, create R/W shared mappings to /dev/mem, insert/remove
kernel modules, run a broken program that dumps core, etc.

I guess it would be a good idea to make sure swap still works. Didn't
try that yet.

Can you think of anything else that might exercise the bits that were
touched by the patch? Were there any tests you ran during the
development of RIXI support which uncovered subtle issues?


We run the LTP, I think it tests these things. We also have a small test case that tests for both the no-read and no-execute parts, but that would be expected to fail on platforms that don't have RI/XI bits.

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