#2183 assigned defect

Thread migration is broken on SMP on x86

Reported by: Sebastian Huber Owned by: Needs Funding
Priority: lowest Milestone: Indefinite
Component: arch/i386 Version: 4.11
Severity: critical Keywords:
Cc: joel.sherrill@… Blocked By:

Description (last modified by Sebastian Huber)

See test case test_double_migration() in smptests/smpmigration02.

The Context_Control::is_executing indicator is insufficient to track double thread migration requests. It should be possible to replace it with a generation count.

Change History (10)

comment:1 Changed on Jun 24, 2014 at 6:52:47 AM by Sebastian Huber

Owner: changed from Joel Sherrill to Sebastian Huber

comment:2 Changed on Jun 24, 2014 at 12:30:46 PM by Joel Sherrill

Cc: Joel Sherrill added

comment:3 Changed on Jul 4, 2014 at 10:48:50 AM by Sebastian Huber

Fixed on ARM, PowerPC and SPARC:


I don't know i386 assembler good enough to fix it here off hand.

comment:4 Changed on Dec 5, 2014 at 1:27:06 AM by Joel Sherrill

Description: modified (diff)
Priority: normalhigh
Severity: normalblocker

comment:5 Changed on Dec 12, 2014 at 7:26:34 AM by Sebastian Huber

Description: modified (diff)
Summary: Thread migration is broken on SMPThread migration is broken on SMP on x86

comment:6 Changed on Dec 17, 2014 at 7:32:45 AM by Sebastian Huber

Priority: normallowest
Severity: normalcritical

comment:7 Changed on Feb 13, 2015 at 10:23:55 PM by Joel Sherrill

Component: cpukitSMP

comment:8 Changed on Mar 6, 2015 at 9:57:40 PM by Joel Sherrill


comment:9 Changed on Jan 23, 2017 at 7:20:53 AM by Sebastian Huber

Milestone: 4.11.1Indefinite
Owner: changed from Sebastian Huber to Needs Funding
Status: newassigned

comment:10 Changed on Oct 10, 2017 at 6:23:24 AM by Sebastian Huber

Component: SMParch/i386
Note: See TracTickets for help on using tickets.