diff options
author | Ross Zwisler <[email protected]> | 2015-05-11 10:15:49 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-05-11 10:38:44 +0200 |
commit | 6c434d6176c0cb42847c33245189667d645db7bf (patch) | |
tree | 7d798f1ea9e8946c64d8558f8c4906e479ad368c /include/linux/fpga/fpga-mgr.h | |
parent | 030bbdbf4c833bc69f502eae58498bc5572db736 (diff) |
x86/mm: Do not flush last cacheline twice in clflush_cache_range()
The current algorithm used in clflush_cache_range() can cause
the last cache line of the buffer to be flushed twice. Fix that
algorithm so that each cache line will only be flushed once.
Reported-by: H. Peter Anvin <[email protected]>
Signed-off-by: Ross Zwisler <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Luis R. Rodriguez <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Toshi Kani <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
[ Changed it to 'void *' to simplify the type conversions. ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions