diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-02-06 22:39:43 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-02-06 22:39:43 +0100 |
commit | d8b57bb700a73872fd06b891d7c9bc4cea1a6af4 (patch) | |
tree | a1667f46fd808cbd904eb5ccbabca4c35c48dde3 /arch/x86/mm/pageattr.c | |
parent | 3aa4b37d3e899cfe7a9cbdcda2b277df4c1f210d (diff) |
x86: make spurious fault handler aware of large mappings
In very rare cases, on certain CPUs, we could end up in the spurious
fault handler and ignore a large pud/pmd mapping. The resulting pte
pointer points into the mapped physical space and dereferencing it
will fault recursively.
Make the code aware of large mappings and do the permission check
on the pmd/pud entry, when a large pud/pmd mapping is detected.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/pageattr.c')
0 files changed, 0 insertions, 0 deletions