This is a note to let you know that I've just added the patch titled
percpu: perform tlb flush after pcpu_map_pages() failure
to the 3.10-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:
percpu-perform-tlb-flush-after-pcpu_map_pages-failure.patch
and it can be found in the queue-3.10 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 849f5169097e1ba35b90ac9df76b5bb6f9c0aabd Mon Sep 17 00:00:00 2001
From: Tejun Heo <[email protected]>
Date: Fri, 15 Aug 2014 16:06:10 -0400
Subject: percpu: perform tlb flush after pcpu_map_pages() failure
From: Tejun Heo <[email protected]>
commit 849f5169097e1ba35b90ac9df76b5bb6f9c0aabd upstream.
If pcpu_map_pages() fails midway, it unmaps the already mapped pages.
Currently, it doesn't flush tlb after the partial unmapping. This may
be okay in most cases as the established mapping hasn't been used at
that point but it can go wrong and when it goes wrong it'd be
extremely difficult to track down.
Flush tlb after the partial unmapping.
Signed-off-by: Tejun Heo <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
mm/percpu-vm.c | 1 +
1 file changed, 1 insertion(+)
--- a/mm/percpu-vm.c
+++ b/mm/percpu-vm.c
@@ -272,6 +272,7 @@ err:
__pcpu_unmap_pages(pcpu_chunk_addr(chunk, tcpu, page_start),
page_end - page_start);
}
+ pcpu_post_unmap_tlb_flush(chunk, page_start, page_end);
return err;
}
Patches currently in stable-queue which might be from [email protected] are
queue-3.10/ahci-add-device-ids-for-intel-9-series-pch.patch
queue-3.10/percpu-perform-tlb-flush-after-pcpu_map_pages-failure.patch
queue-3.10/percpu-free-percpu-allocation-info-for-uniprocessor-system.patch
queue-3.10/ahci-add-pcid-for-marvel-0x9182-controller.patch
queue-3.10/pata_scc-propagate-return-value-of-scc_wait_after_reset.patch
queue-3.10/percpu-fix-pcpu_alloc_pages-failure-path.patch
queue-3.10/workqueue-apply-__wq_ordered-to-create_singlethread_workqueue.patch
queue-3.10/ata_piix-add-device-ids-for-intel-9-series-pch.patch
queue-3.10/cfq-iosched-fix-wrong-children_weight-calculation.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html