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)
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>

No differences found