On Tue, Nov 14, 2000 at 10:19:32AM +0100, Jean Wolter wrote:
> > > OTOH, the value is used only by Alt-SysRq-T, so... Hell knows.
> >
> > No, it's also used by 'ps -l'. See wchan.
>
> ps -l uses get_wchan() (an architecture specific function from
> arch/*/kernel/process.c) to get the return ad
Richard Henderson <[EMAIL PROTECTED]> writes:
> > OTOH, the value is used only by Alt-SysRq-T, so... Hell knows.
>
> No, it's also used by 'ps -l'. See wchan.
ps -l uses get_wchan() (an architecture specific function from
arch/*/kernel/process.c) to get the return address from
schedule(). And
On Sat, Nov 11, 2000 at 10:18:46PM -0500, Alexander Viro wrote:
> Alternative variant: just let schedule() store its return address
> in the task_struct.
Please please. I can't reliably unwind the stack on Alpha.
> OTOH, the value is used only by Alt-SysRq-T, so... Hell knows.
No, it's also us
On Sat, Nov 11, 2000 at 02:06:34PM +0100, Ralf Baechle wrote:
> Reminds me that the Alpha implementation of get_wchan() looks to me like
> it doesn't handle all cases of schedule() being called from another
> scheduler function correctly.
Certainly not -- it's impossible.
> I'd really like to se
On Sat, 11 Nov 2000, Alexander Viro wrote:
> I would probably turn it into
> unsigned long *ebp = *((unsigned long **)t->esp);
ebp++; /* We want return address, not the previous frame pointer */
> /* Bits 0,1 and 13..31 must be shared with the stack base */
> if (((
On Sat, 11 Nov 2000, Linus Torvalds wrote:
> On Fri, 10 Nov 2000, Alexander Viro wrote:
> > diff -urN rc11-2/include/asm-i386/processor.h
>rc11-2-show_task/include/asm-i386/processor.h
> > --- rc11-2/include/asm-i386/processor.h Fri Nov 10 09:14:04 2000
> > +++ rc11-2-show_task/include/asm
On Fri, 10 Nov 2000, Alexander Viro wrote:
> diff -urN rc11-2/include/asm-i386/processor.h
>rc11-2-show_task/include/asm-i386/processor.h
> --- rc11-2/include/asm-i386/processor.h Fri Nov 10 09:14:04 2000
> +++ rc11-2-show_task/include/asm-i386/processor.h Fri Nov 10 16:08:15 2000
> @
On Fri, Nov 10, 2000 at 04:26:32PM -0500, Alexander Viro wrote:
> * thread_saved_pc() on x86 returns (thread->esp)[3]. Bogus, since the
> third word from the stack top has absolutely nothing to return address of
> any kind. Correct value: (thread->esp)[0][1] - ebp is on top of the stack
> a
8 matches
Mail list logo