diff options
author | Vineet Gupta | 2013-05-19 10:36:44 +0200 |
---|---|---|
committer | Vineet Gupta | 2013-05-23 10:55:09 +0200 |
commit | 006dfb3c9c44192f06093d65b3a876fa5ad1319a (patch) | |
tree | d3ea1716d564a7390141f12b98c628cfe4b932eb /arch/arc/mm | |
parent | ARC: Brown paper bag bug in macro for checking cache color (diff) | |
download | kernel-qcow2-linux-006dfb3c9c44192f06093d65b3a876fa5ad1319a.tar.gz kernel-qcow2-linux-006dfb3c9c44192f06093d65b3a876fa5ad1319a.tar.xz kernel-qcow2-linux-006dfb3c9c44192f06093d65b3a876fa5ad1319a.zip |
ARC: Use enough bits for determining page's cache color
The current code uses 2 bits for determining page's dcache color, thus
sorting pages into 4 bins, whereas the aliasing dcache really has 2 bins
(8k page, 64k dcache - 4 way-set-assoc).
This can cause extraneous flushes - e.g. color 0 and 2.
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/mm')
0 files changed, 0 insertions, 0 deletions