[RTEMS Project] #4544: The last processor must not be removed if it is owned by a helping scheduler
RTEMS trac
trac at rtems.org
Tue Nov 23 13:36:30 UTC 2021
#4544: The last processor must not be removed if it is owned by a helping
scheduler
--------------------------------+------------------------------
Reporter: Sebastian Huber | Owner: Sebastian Huber
Type: defect | Status: assigned
Priority: normal | Milestone: 6.1
Component: score | Version: 5
Severity: normal | Resolution:
Keywords: SMP, qualification | Blocked By:
Blocking: |
--------------------------------+------------------------------
Comment (by Sebastian Huber <sebastian.huber@…>):
In [changeset:"c69a70a597ec5df75a51bfa39c14198a5c5fb22e/rtems"
c69a70a/rtems]:
{{{
#!CommitTicketReference repository="rtems"
revision="c69a70a597ec5df75a51bfa39c14198a5c5fb22e"
rtems: Fix rtems_scheduler_remove_processor()
Return an error status for the following error condition in
rtems_scheduler_remove_processor():
While an attempt is made to remove a processor from a scheduler, while
the processor is the only processor owned by the scheduler, if a thread
exists which uses the scheduler as a helping scheduler, then the
processor shall not be removed.
The reason is that ask for help requests and withdraw node requests are
processed asynchronously in any order. An ask for help request carried
out on a scheduler without a processor is undefined behaviour.
Update error status description.
Update #4544.
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/4544#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list