summaryrefslogtreecommitdiffstats
path: root/scripts/show_delta
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2014-04-29 13:03:27 -0700
committerDavid S. Miller <davem@davemloft.net>2014-05-03 22:56:14 -0700
commit26cf432551d749e7d581db33529507a711c6eaab (patch)
tree2a877a04947ec6ef487a7fe5c60f1c432a67bf94 /scripts/show_delta
parent0eef331a3d0ee970dcbebd1bd5fcb57ca33ece01 (diff)
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>
Diffstat (limited to 'scripts/show_delta')
0 files changed, 0 insertions, 0 deletions