diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2005-02-24 16:48:33 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-02-24 16:48:33 -0800 |
| commit | 16d5c084844ab86e74896bdfaa296f2c37a3c073 (patch) | |
| tree | b314905cc8e77cf52e099e35071c382e52823d49 /net/unix/af_unix.c | |
| parent | 8672a651b81c882d6da33f18ee594c3ba6adaa04 (diff) | |
[PATCH] ppc64: hugepage hash flushing bugfix
This fixes a potentially bad (although very rarely triggered) bug in the
ppc64 hugepage code.
hpte_update() did not correctly calculate the address for hugepages, so
pte_clear() (which we use for hugepage ptes as well as normal ones)
would not correctly flush the hash page table entry. Under the right
circumstances this could potentially lead to duplicate hash entries,
which is very bad.
davem's upcoming patch to pass the virtual address directly to set_pte()
and its ilk will obsolete this, but this is bad enough it should
probably be fixed in the meantime.
Signed-off-by: David Gibson <dwg@au1.ibm.com>
Acked-by: William Irwin <wli@holomorphy.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
