diff options
author | Scott Wood <scottwood@freescale.com> | 2008-02-06 06:43:26 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-02-06 16:30:01 +1100 |
commit | 551ed332da2f52daf5d01fc76d2a894aba79d316 (patch) | |
tree | a7b6ef800cf9d32344fe3e6989eb17607e00fd3c /Documentation/power/swsusp.txt | |
parent | f5903ede0015db5b53458092b6ae2af074fa49d4 (diff) |
[POWERPC] update_mmu_cache: Don't cache-flush non-readable pages
Currently, update_mmu_cache will crash if given a no-access PTE.
There's no need to synchronize dcache/icache unless it's an exec
mapping -- however, due to the existence of older glibc versions that
execute out of a read-but-no-exec page, readability is tested instead.
This assumes no exec-only mappings; if such mappings become supported,
they will need to go through the kmap_atomic() version of
dcache/icache synchronization.
This fixes a bug reported by some users where the kernel would crash
while dumping core on a threaded program.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'Documentation/power/swsusp.txt')
0 files changed, 0 insertions, 0 deletions