]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit656dad312fb41ed95ef08325e9df9bece3aacbbb
tree34d0a2c1e4b78104148850abc8a1359ce06c3f13
parent3e4fdaf8aebe489e8e59826fdf78cb64356d2ad0
[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