]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] highmem: catch illegal nesting
authorIngo Molnar <mingo@elte.hu>
Sat, 10 Feb 2007 09:46:36 +0000 (01:46 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 19:18:07 +0000 (11:18 -0800)
commit5fbd92f9ee4897ec4fbc4b7e1b2a85658880df0f
tree34d0a2c1e4b78104148850abc8a1359ce06c3f13
parent3fac380f54f0fc8d2978b10a98ee7c225cb787cb
[PATCH] highmem: catch illegal nesting

Catch illegally nested kmap_atomic()s even if the page that is mapped by
the 'inner' instance is from lowmem.

This avoids spuriously zapped kmap-atomic ptes and turns hard to find
crashes into clear asserts at the bug site.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/mm/highmem.c