Re: gdb strangness Under 2.3.11-pre1

Alexander Viro (viro@math.psu.edu)
Sun, 18 Jul 1999 11:27:59 -0400 (EDT)


On Sun, 18 Jul 1999, Tim Waugh wrote:

> On Sun, 18 Jul 1999, Alexander Viro wrote:
>
> > > with 2.3.11-pre4) are the weird things in /proc/{2,3} and the 'bad page
> > > middle entry 23232323'-type messages.
> >
> > The former may be (partially) healed by the following patch. The latter...
>
> Hmm. I get a stack of 'bad magic' wq bugs and oopses. :-(

Ooops. Take out everything except fs/proc/* stuff - the rest is heavily
wrong.

BTW, folks - something seriously weird happens: in schedule() we have a
get_mmu_context(...);
switch_to(...);
put_mmu_context(...);
Fine. Looks like the last line is *never* executed. OK, I said <censored>
and inserted printk("foo"); before the switch_to() and panic("bar");
immediately after. No way in hell - it executes the printk(). On all
switches. Yep, plural - panic() is never called. WTF??? OK, we are
switching to another process, but bloody hell, we are going into the same
blasted place in the schedule(). Or at least we are supposed to... What
the ?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/