linux/arch/sparc/include
David S. Miller 26cf432551 sparc64: Add basic validations to {pud,pmd}_bad().
Instead of returning false we should at least check the most basic
things, otherwise page table corruptions will be very difficult to
debug.

PMD and PTE tables are of size PAGE_SIZE, so none of the sub-PAGE_SIZE
bits should be set.

We also complement this with a check that the physical address the
pud/pmd points to is valid memory.

PowerPC was used as a guide while implementating this.

Signed-off-by: David S. Miller <davem@davemloft.net>
2014-05-03 22:56:14 -07:00
..
asm sparc64: Add basic validations to {pud,pmd}_bad(). 2014-05-03 22:56:14 -07:00
uapi/asm sparc: Hook up sched_setattr and sched_getattr syscalls. 2014-01-29 00:45:06 -08:00