This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1001983] New: scheduler-lock assertion in idle thread invalid for SMP systems
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: unassigned at bugs dot ecos dot sourceware dot org
- Date: Fri, 09 May 2014 12:04:18 +0000
- Subject: [Bug 1001983] New: scheduler-lock assertion in idle thread invalid for SMP systems
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
Please do not reply to this email, use the link below.
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001983
Bug ID: 1001983
Summary: scheduler-lock assertion in idle thread invalid for
SMP systems
Product: eCos
Version: 3.0
Target: All
Architecture/Host Other
OS:
Status: UNCONFIRMED
Severity: minor
Priority: low
Component: Kernel
Assignee: unassigned@bugs.ecos.sourceware.org
Reporter: christoph.borchert@tu-dortmund.de
CC: ecos-bugs@ecos.sourceware.org
Created attachment 2508
--> http://bugs.ecos.sourceware.org/attachment.cgi?id=2508&action=edit
patch
Dear eCos developers,
the following assertion, present in the idle threads's main function, is not
valid for SMP systems:
CYG_ASSERT( Cyg_Scheduler::get_sched_lock() == 0, "Scheduler lock not zero" );
In a multi-core system, one CPU can execute an idle loop, whereas another CPU
holds the scheduler lock (and does some useful things).
Attached is a patch that disables that particular assertion for SMP
configurations.
Best regards,
Christoph
--
You are receiving this mail because:
You are the assignee for the bug.