]> Pileus Git - ~andy/linux/commit
sh: Factor in cpu id for selection of cache colour fixmap.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 9 Sep 2009 08:14:19 +0000 (17:14 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 9 Sep 2009 08:14:19 +0000 (17:14 +0900)
commitf9e2bdfdbb4c9da13422b349227be8c7b41dbd44
tree0cda3a72cbf51cf4e907e0cbef4dce24a6d08b7e
parentc4845a4b2288a9e5d96a0558e474809028c8aff3
sh: Factor in cpu id for selection of cache colour fixmap.

In the SMP VIPT case the page copy/clear ops still perform colouring,
care needs to be taken that CPUs don't end up stepping on each other,
so we give them a bit of room to work with.

At the same time, we reduce the worst-case colouring given that these
pages are always consumed.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/fixmap.h
arch/sh/mm/kmap.c