Re: [Linux-ia64] switch_stack position

Keith Owens
2000-12-14T06:44:29Z

On Wed, 13 Dec 2000 22:36:46 -0800,
David Mosberger <davidm@hpl.hp.com> wrote:
> Keith> One pointer in struct thread, one pointer in switch_stack, ~
> Keith> 15 instructions (2-3 extra bundles) to set the pointers
> Keith> during save_switch_stack, load_switch_stack and copy_thread.
> Keith> Is that too big a change?
>
>It's not the amount of work the change that's involved, it's that the
>change makes no sense whatsoever. Surely you can find a better
>solution?

I need to look at an arbitrary process and determine its stack state
accurately. If you can think of an method which does not require
tracking the switch_stack (or current top of stack, it is almost the
same thing) for all processes, let me know. I looked at this for a
couple of weeks without finding a better solution.