]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86_64: Fixed guard page handling again in iounmap
authorAndi Kleen <ak@suse.de>
Fri, 20 May 2005 21:27:57 +0000 (14:27 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 20 May 2005 22:48:20 +0000 (15:48 -0700)
commite7b3ab46e3250688e20a4290b22162977f97c78a
tree0e9f799c3882dce14b49356c6db10bb6f4ba1713
parentf3249bd53af5a54ce0f68959e8b2a572626970e0
[PATCH] x86_64: Fixed guard page handling again in iounmap

Caused oopses again.  Also fix potential mismatch in checking if
change_page_attr was needed.

To do it without races I needed to change mm/vmalloc.c to export a
__remove_vm_area that does not take vmlist lock.

Noticed by Terence Ripperda and based on a patch of his.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/mm/ioremap.c
include/linux/vmalloc.h
mm/vmalloc.c