uml: customize tlb.h
authorJeff Dike <jdike@addtoit.com>
Tue, 5 Feb 2008 06:31:07 +0000 (22:31 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:29 +0000 (09:44 -0800)
commit0b4e273fb83bce5dd8e166a4defb16ebdd215abf
tree18f30fe9092dacf9a7e3474a9b0d692d91962242
parent909e90d3c410b684e564729145f7c20dad887757
uml: customize tlb.h

Customize the hooks in tlb.h to optimize TLB flushing some more.

Add start and end fields to tlb_gather_mmu, which are used to limit
the address space range scanned when a region is unmapped.

The interfaces which just free page tables, without actually changing
mappings, don't need to cause a TLB flush.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/kernel/tlb.c
include/asm-um/tlb.h