This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001983] New: scheduler-lock assertion in idle thread invalid for SMP systems


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]