Re: i386 doublefault handler is broken with CONFIG_DEBUG_SPINLOCK

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux