Re: BUG-lockdep and freeze (was: Arrr! Linux 2.6.18)

Ingo Molnar
2006-09-30T21:33:52Z

* Linus Torvalds <torvalds@osdl.org> wrote:

> It could - and _should_ dammit! - do some basic sanity tests like "is
> the thing even in the same stack page"? But nooo... It seems
> _designed_ to be fragile and broken.
>
> Here's a simple test: if the next stack-slot isn't on the same page,
> the unwind information is bogus unless you had the IRQ stack-switch
> signature there. Does the code do that? No. It just assumes that
> unwind information is complete and perfect.

fully agreed - i have pointed out areas of conceptual fragility to Jan
early on:

http://lkml.org/lkml/2006/6/2/59

(but AFAICS i got no reply to that mail - i missed that in the lockdep
flurry.)

Ingo