kernel_optimize_test/arch/x86_64/mm
Andi Kleen bf5421c309 [PATCH] i386/x86-64: Don't call change_page_attr with a spinlock held
It's illegal because it can sleep.

Use a two step lookup scheme instead.  First look up the vm_struct, then
change the direct mapping, then finally unmap it.  That's ok because nobody
can change the particular virtual address range as long as the vm_struct is
still in the global list.

Also added some LinuxDoc documentation to iounmap.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-12-12 22:31:16 -08:00
..
extable.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fault.c [PATCH] x86_64: Remove CONFIG_CHECKING and add command line option for pagefault tracing 2005-11-14 19:55:17 -08:00
init.c [PATCH] x86_64: Remove CONFIG_CHECKING and add command line option for pagefault tracing 2005-11-14 19:55:17 -08:00
ioremap.c [PATCH] i386/x86-64: Don't call change_page_attr with a spinlock held 2005-12-12 22:31:16 -08:00
k8topology.c [PATCH] x86_64: Make node boundaries consistent 2005-11-14 19:55:17 -08:00
Makefile [PATCH] reorganize x86-64 NUMA and DISCONTIGMEM config options 2005-06-23 09:45:06 -07:00
numa.c [PATCH] x86_64: Fix sparse mem 2005-11-14 19:55:18 -08:00
pageattr.c [PATCH] x86_64: Fix change_page_attr cache flushing 2005-10-10 16:10:33 -07:00
srat.c [PATCH] x86_64: Make node boundaries consistent 2005-11-14 19:55:17 -08:00