[RTEMS Project] #2365: Task pre-emption disable is broken due to pseudo ISR tasks

RTEMS trac trac at rtems.org
Tue Jul 26 09:23:17 UTC 2022


#2365: Task pre-emption disable is broken due to pseudo ISR tasks
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  defect           |      Status:  closed
 Priority:  lowest           |   Milestone:  6.1
Component:  score            |     Version:  4.10
 Severity:  critical         |  Resolution:  fixed
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+------------------------------
Changes (by Sebastian Huber <sebastian.huber@…>):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"7fe6d60bf08df975c395515074c85976d9e4e3fb/rtems"
 7fe6d60/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="7fe6d60bf08df975c395515074c85976d9e4e3fb"
 score: Remove PRIORITY_PSEUDO_ISR thread priority

 The uniprocessor schedulers had some special case logic for the
 PRIORITY_PSEUDO_ISR priority.  Tasks with a priority of
 PRIORITY_PSEUDO_ISR
 were allowed to preempt a not preemptible task.  If other higher priority
 task
 are made ready while a PRIORITY_PSEUDO_ISR task preempts a not preemptible
 task, then the other tasks run before the not preemptible task.  This made
 the
 RTEMS_NO_PREEMPT mode ineffective.

 Remove the PRIORITY_PSEUDO_ISR special case logic.  This simplifies the
 uniprocessor schedulers.  Move the uniprocessor-specific scheduler support
 to
 the new header file <rtems/score/scheduleruniimpl.h>.

 Close #2365.
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/2365#comment:7>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list