]> git.baikalelectronics.ru Git - kernel.git/commit
uml: speed up page table walking
authorJeff Dike <jdike@addtoit.com>
Sun, 6 May 2007 21:51:30 +0000 (14:51 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:13:03 +0000 (12:13 -0700)
commit9dc829d4980d605d3b305b556526843a29ed66e1
tree98d38ab533082d8145b932bb0e6c4ab86191186a
parentcd6b88a5b9ec3e2cda3245277d0ffe5372ed1f27
uml: speed up page table walking

The previous page table walking code was horribly inefficient.  This patch
replaces it with code taken from elsewhere in the kernel.

Forking from bash is now ~5% faster and page faults are handled ~10% faster.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/kernel/tlb.c