All of lore.kernel.org
 help / color / mirror / Atom feed
* Question re do_switch_stack()
@ 2005-06-09 14:41 Avi Kivity
  2005-06-09 14:44 ` Kip Macy
  0 siblings, 1 reply; 5+ messages in thread
From: Avi Kivity @ 2005-06-09 14:41 UTC (permalink / raw)
  To: xen-devel

looking at do_stack_switch() (x86-32), I see that the switch is effected
by moving the new stack pointer into current->arch.kernel_sp. however,
entry.S only looks at kernel_sp in create_bounce_frame, but only if
we're not returning into ring 1.

how then is the switch caused? obviously the call to do_stack_switch
came from ring 1.

confused,
Avi

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-06-09 15:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-09 14:41 Question re do_switch_stack() Avi Kivity
2005-06-09 14:44 ` Kip Macy
2005-06-09 15:22   ` Avi Kivity
2005-06-09 15:32     ` Keir Fraser
2005-06-09 15:51       ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.