Re: i386 doublefault handler is broken with CONFIG_DEBUG_SPINLOCK
From: Chuck Ebbert
Date: Thu Aug 09 2007 - 19:35:55 EST
On 08/09/2007 07:16 PM, Andi Kleen wrote:
>
> I tested it. Even on a box without spin lock debugging I get a hard
> hang after
>
> double fault, gdt at c1404000 [255 bytes]
>
> even though it should have printed the registers.
> So it looks like there is more broken in the DF handler than just
> this.
Looks like it just fails the ptr_ok() test:
#define ptr_ok(x) ((x) > PAGE_OFFSET && (x) < PAGE_OFFSET + 0x1000000)
page_offset c0000000
+ 1000000
< c1404000
What should that be changed to, or is there some easier way to test that?
-
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/