[PATCH] i386: Fix race 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)
commit4057923614e2868a865aa6c6e3bc53542c818d4d
tree0a6a2b492eaa11897538a06655685474b961df44
parent7856dfeb23c16ef3d8dac8871b4d5b93c70b59b9
[PATCH] i386: Fix race in iounmap

We need to hold the vmlist_lock while doing change_page_attr, otherwise we
could reset someone else's mapping.

Requires previous patch to add __remove_vm_area

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/i386/mm/ioremap.c