diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2010-12-16 04:29:04 (GMT) |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2010-12-19 17:57:08 (GMT) |
commit | 25cbe45440ea89a3b0f6f7ed326d3d476d53068b (patch) | |
tree | c4f63f23f9152fb9bb75b6206b445b5ce7290e8d /arch/x86/lguest/boot.c | |
parent | 39af22a79232373764904576f31572f1db76af10 (diff) | |
download | linux-fsl-qoriq-25cbe45440ea89a3b0f6f7ed326d3d476d53068b.tar.xz |
ARM: fix cache-xsc3l2 after stack based kmap_atomic()
Since commit 3e4d3af501 "mm: stack based kmap_atomic()", it is actively
wrong to rely on fixed kmap type indices (namely KM_L2_CACHE) as
kmap_atomic() totally ignores them and a concurrent instance of it may
happily reuse any slot for any purpose. Because kmap_atomic() is now
able to deal with reentrancy, we can get rid of the ad hoc mapping here,
and we even don't have to disable IRQs anymore (highmem case).
While the code is made much simpler, there is a needless cache flush
introduced by the usage of __kunmap_atomic(). It is not clear if the
performance difference to remove that is worth the cost in code
maintenance (I don't think there are that many highmem users on that
platform if at all anyway).
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch/x86/lguest/boot.c')
0 files changed, 0 insertions, 0 deletions