xtensa: avoid mmap cache aliasing
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 22 Dec 2012 02:35:04 +0000 (06:35 +0400)
committerChris Zankel <chris@zankel.net>
Sun, 24 Feb 2013 03:12:53 +0000 (19:12 -0800)
commitde73b6b1bd7480301c8e8fbe58184448b1757945
tree9aca0e26cfa96e18e1d353777349ee30cc25718d
parent475c32d0a1b836fc3798ea96cc334a4bfffec2cf
xtensa: avoid mmap cache aliasing

Provide arch_get_unmapped_area function aligning shared memory mapping
addresses to the biggest of the page size or the cache way size. That
guarantees that corresponding virtual addresses of shared mappings are
cached by the same cache sets.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/include/asm/pgtable.h
arch/xtensa/kernel/syscall.c
This page took 0.028046 seconds and 5 git commands to generate.