]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop hugepages fix, not applicable to -stable as is.
authorChris Wright <chrisw@osdl.org>
Wed, 8 Feb 2006 03:00:02 +0000 (19:00 -0800)
committerChris Wright <chrisw@osdl.org>
Wed, 8 Feb 2006 03:00:02 +0000 (19:00 -0800)
queue/hugepages-need-clear_user_highpage-not-clear_highpage.patch [deleted file]
queue/series

diff --git a/queue/hugepages-need-clear_user_highpage-not-clear_highpage.patch b/queue/hugepages-need-clear_user_highpage-not-clear_highpage.patch
deleted file mode 100644 (file)
index 9f8f6dc..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-From stable-bounces@linux.kernel.org  Tue Feb  7 13:06:55 2006
-Date: Tue, 07 Feb 2006 12:58:25 -0800
-From: akpm@osdl.org
-To: torvalds@osdl.org
-Cc: dwg@au1.ibm.com, stable@kernel.org, wli@holomorphy.com,
-        david@gibson.dropbear.id.au
-Subject: [PATCH] Hugepages need clear_user_highpage() not clear_highpage()
-
-From: David Gibson <david@gibson.dropbear.id.au>
-
-When hugepages are newly allocated to a file in mm/hugetlb.c, we clear them
-with a call to clear_highpage() on each of the subpages.  We should be
-using clear_user_highpage(): on powerpc, at least, clear_highpage() doesn't
-correctly mark the page as icache dirty so if the page is executed shortly
-after it's possible to get strange results.
-
-Signed-off-by: David Gibson <dwg@au1.ibm.com>
-Acked-by: William Lee Irwin III <wli@holomorphy.com>
-Cc: <stable@kernel.org>
-Signed-off-by: Andrew Morton <akpm@osdl.org>
-Signed-off-by: Chris Wright <chrisw@sous-sol.org>
----
-
- mm/hugetlb.c |    2 +-
- 1 files changed, 1 insertion(+), 1 deletion(-)
-
-Index: linux-2.6.15.3/mm/hugetlb.c
-===================================================================
---- linux-2.6.15.3.orig/mm/hugetlb.c
-+++ linux-2.6.15.3/mm/hugetlb.c
-@@ -100,7 +100,7 @@ struct page *alloc_huge_page(void)
-       set_page_count(page, 1);
-       page[1].mapping = (void *)free_huge_page;
-       for (i = 0; i < (HPAGE_SIZE/PAGE_SIZE); ++i)
--              clear_highpage(&page[i]);
-+              clear_user_highpage(&page[i], addr);
-       return page;
- }
index c942da41b991f207640619489d963f546de5d190..7f6d79a35b3423955d9a8367daa876caac755f76 100644 (file)
@@ -20,4 +20,3 @@ bridge-netfilter-races-on-device-removal.patch
 bridge-fix-rcu-race-on-device-removal.patch
 emu10k1-fix-the-confliction-of-front-control.patch
 x86_64-dont-record-local-apic-ids-when-they-are-disabled-in-madt.patch
-hugepages-need-clear_user_highpage-not-clear_highpage.patch