#3335 new defect

i386 context switching for SMP is incomplete

Reported by: Amaan Cheval Owned by:
Priority: normal Milestone:
Component: arch/i386 Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

i386 targets do not define a usable CPU_Interrupt_frame struct, which the SMP thread-dispatch docs say is the temporary per-processor stack mentioned in this excerpt:

The context-switch is performed with interrupts enabled. During the transition from the executing to the heir thread neither the stack of the executing nor the heir thread must be used during interrupt processing. For this purpose a temporary per-processor stack is set up which may be used by the interrupt prologue before the stack is switched to the interrupt stack.

The code needs to set that temporary stack up, but doesn't currently, for i386.

Some relevant discussion occured in this thread on the devel mailing list too.

Change History (0)

Note: See TracTickets for help on using tickets.