Re: [Linux-ia64] Q: stack coherency

From: David Mosberger <>
Date: 2000-03-14 05:52:17
>>>>> On Sat, 11 Mar 2000 10:02:06 +0100, Manfred Spraul <> said:

  Manfred> Can I access a structure that's stored on the stack of one
  Manfred> CPU from another CPU?

IA-64 is no different in this respect from other architectures.  If
you have an SMP/NUMA/whatever system where the CPUs share the
address-space, you will be able to access the stack of another thread
(assuming the thread's stack is mapped in the address space).  Of
course, you also need to have proper synchronization to ensure the
stack is still live when the second CPU is trying to access it.

I'm not 100% sure what you're asking though, because the "subject"
line of your mail asks about stack coherency.  Coherency is an
orthogonal issue to accessibility.  IA-64 uses a weakly ordered memory
model to achieve high performance.  It's probably best to read the
IA-64 architecture manual for the details (see Section 4.4 at, but loosely
speaking, memory accesses that happen between a spin-lock/-unlock
pair, will be ordered with respect to accesses by other CPUs.

Received on Mon Mar 13 10:53:08 2000

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:19:58 EST