]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ppc64: More hugepage fixes
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 28 Sep 2005 04:45:45 +0000 (21:45 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Sep 2005 14:46:42 +0000 (07:46 -0700)
commitf693df0648494f7421307bb58ce665ab60ebae08
tree00e93df9f9920c43ace34e28298255dc8a0f9263
parent2aa64c974d1b60a13292085e3a406b06b5043c9b
[PATCH] ppc64: More hugepage fixes

My previous patch fixing invalidation of huge PTEs wasn't good enough, we
still had an issue if a PTE invalidation batch contained both small and
large pages.  This patch fixes this by making sure the batch is flushed if
the page size fed to it changes.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/mm/hash_native.c
arch/ppc64/mm/tlb.c
include/asm-ppc64/tlbflush.h