Patch "x86/mm: Add parenthesis for TLB tracepoint size calculation" has been added to the 4.1-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
x86/mm: Add parenthesis for TLB tracepoint size calculation
to the 4.1-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
x86-mm-add-parenthesis-for-tlb-tracepoint-size-calculation.patch
and it can be found in the queue-4.1 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
bbc03778b9954a2ec93baed63718e4df0192f130Mon Sep 17 00:00:00 2001
From: Dave Hansen <[email protected]>
Date: Mon, 20 Jul 2015 16:01:53 -0700
Subject: x86/mm: Add parenthesis for TLB tracepoint size calculation
From: Dave Hansen <[email protected]>
commit bbc03778b9954a2ec93baed63718e4df0192f130 upstream.
flush_tlb_info->flush_start/end are both normal virtual addresses. When calculating 'nr_pages' (only used for the tracepoint), I neglected to put parenthesis in.
Thanks to David Koufaty for pointing this out.
--- arch/x86/mm/tlb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/mm/tlb.c +1 -1
@@ -117,7 +117,7 @@ static void flush_tlb_func(void *info) }else {unsigned long addr;unsigned long nr_pages = - f->flush_end - f->flush_start /PAGE_SIZE ; + (f->flush_end - f->flush_start) /PAGE_SIZE ; addr = f->flush_start;while (addr < f->flush_end) {__flush_tlb_single (addr);
Patches currently in stable-queue which might be from [email protected] are
queue-4.1/x86-mm-add-parenthesis-for-tlb-tracepoint-size-calculation.patch