]> err.no Git - linux-2.6/commit
avr32: Cover the kernel page tables in the user PGDs
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Mon, 14 Jan 2008 22:11:26 +0000 (23:11 +0100)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Wed, 2 Jul 2008 09:01:29 +0000 (11:01 +0200)
commita9a934f278613885816aa9f177968c1dac557240
treee2199d8039f548c88f95dd82ee87fc254d972767
parentcfd23e93a0289cf6711fd3877c5226658d87240a
avr32: Cover the kernel page tables in the user PGDs

Expand the per-process PGDs so that they cover the kernel virtual
memory area as well. This simplifies the TLB miss handler fastpath
since it doesn't have to check for kernel addresses anymore.

If a TLB miss happens on a kernel address and a second-level page
table can't be found, we check swapper_pg_dir and copy the PGD entry
into the user PGD if it can be found there.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
arch/avr32/kernel/entry-avr32b.S
include/asm-avr32/pgalloc.h