Re: 2.6.10-rc1-mm4

From: Andi Kleen
Date: Fri Nov 12 2004 - 18:25:52 EST


> > kernel BUG at arch/i386/mm/highmem.c:63!
> > EIP is at kunmap_atomic+0x27/0x70
> > Call Trace
> > show_stack+0xa6/0xb0
> > show_register+0x14d/0x1c0
> > die+0x158/0x2e0
> > do_invalid_op+0xef/0x100
> > error_code+0x2b/0x30
> > copy_pte_range+0x122/0x490
>
> This might help:

Indeed. Thanks for fixing this. I checked the other functions,
but it seems I only made this mistake once.

-Andi

>
>
>
>
> We're modifying src_pte and dst_pte in the for-loop, and then unmapping the
> modified pointers. If one of them walked off the end of the page then blam.
>
>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/