diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2006-02-07 21:58:25 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-08 01:12:31 +0100 |
commit | a2dfef6947139db9b886fce510c4d0c913beb5f0 (patch) | |
tree | 096e9110d897e6b946fdae9e9e17ad5c7832fd8a /Documentation/rocket.txt | |
parent | [PATCH] x86_64: Fix the node cpumask of a cpu going down (diff) | |
download | linux-a2dfef6947139db9b886fce510c4d0c913beb5f0.tar.xz linux-a2dfef6947139db9b886fce510c4d0c913beb5f0.zip |
[PATCH] Hugepages need clear_user_highpage() not clear_highpage()
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: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/rocket.txt')
0 files changed, 0 insertions, 0 deletions