Re: [PATCH] update_mmu_cache: Don't dcbst non-readable pages.

2008-02-05 Thread Benjamin Herrenschmidt
On Tue, 2008-02-05 at 13:43 -0600, Scott Wood wrote: > 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 pa

[PATCH] update_mmu_cache: Don't dcbst non-readable pages.

2008-02-05 Thread Scott Wood
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