Guo Ren 981bbf274b csky: Fixup wrong update_mmu_cache implementation
In our stress test, we found some crash problem caused by:

if (!(vma->vm_flags & VM_EXEC))
	return;

in update_mmu_cache().

Seems current update_mmu_cache implementation is wrong and we retread
to the conservative implementation.

Also the usage of kmap_atomic in update_mmu_cache is risky, page-virtual
may be scheduled out and changed, so we must use preempt_disable &
pagefault_disable which is called by kmap_atomic().

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Arnd Bergmann <arnd@arndb.de>
2019-04-22 13:44:57 +08:00
..
2018-10-26 00:54:13 +08:00
2018-12-31 23:16:46 +08:00
2018-10-26 00:54:24 +08:00
2018-10-26 00:54:24 +08:00
2018-10-26 00:54:24 +08:00
2018-10-26 00:54:24 +08:00
2018-10-26 00:54:24 +08:00
2018-10-26 00:54:24 +08:00
2018-10-26 00:54:24 +08:00