public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1001983] New: scheduler-lock assertion in idle thread invalid for SMP systems
@ 2014-05-09 12:04 bugzilla-daemon
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2014-05-09 12:04 UTC (permalink / raw)
  To: ecos-bugs

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 on the CC list for the bug.


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

* [Bug 1001983] New: scheduler-lock assertion in idle thread invalid for SMP systems
@ 2014-05-09 12:04 bugzilla-daemon
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2014-05-09 12:04 UTC (permalink / raw)
  To: unassigned

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.


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

end of thread, other threads:[~2014-05-09 12:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-09 12:04 [Bug 1001983] New: scheduler-lock assertion in idle thread invalid for SMP systems bugzilla-daemon
  -- strict thread matches above, loose matches on Subject: below --
2014-05-09 12:04 bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).