Re: [Linux-ia64] switch_stack position

David Mosberger
2000-12-14T06:56:52Z

>>>>> On Thu, 14 Dec 2000 17:44:29 +1100, Keith Owens <kaos@ocs.com.au> said:

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

Since you need to stop the CPUs anyhow, why not just have the CPUs
store their "current" values in a global array?

--david