On Tue, Apr 28, 2015 at 04:13:12PM -0600, Ross Zwisler wrote: > 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. > > Signed-off-by: Ross Zwisler <ross.zwis...@linux.intel.com> > Reported-by: H. Peter Anvin <h...@zytor.com> > Cc: H. Peter Anvin <h...@zytor.com> > Cc: Thomas Gleixner <t...@linutronix.de> > Cc: Ingo Molnar <mi...@redhat.com> > Cc: x...@kernel.org > Cc: Borislav Petkov <b...@suse.de> > --- > arch/x86/mm/pageattr.c | 13 ++++++------- > 1 file changed, 6 insertions(+), 7 deletions(-)
Applied, thanks. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/