[Bug 1895] New: Pluggable scheduler priority_compare and release_job hooks

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu Aug 11 14:28:33 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1895

           Summary: Pluggable scheduler priority_compare and release_job
                    hooks
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: benesp16 at fel.cvut.cz
                CC: giddyup44 at yahoo.com
        Depends on: 1886


Created attachment 1297
  --> https://www.rtems.org/bugzilla/attachment.cgi?id=1297
Pluggable scheduler priority_compare and release_job hooks

This patch enhances the pluggable scheduler interface with two additional
callback functions. The motivation is integration of EDF scheduler.

First one, priority_compare explicitly compares two priorities. It is called
when seizing a mutex.

Second one, release_job services each job release/cancellation in case the
tasks are handled as periodic/aperiodic using the Rate Monotonic (RM) manager.
It is called by RM when starting a new period and also (with a different
parameter) when a period is cancelled. 

2011-08-11  Petr Benes <benesp16 at fel.cvut.cz>
* rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
rtems/src/ratemonperiod.c, score/Makefile.am,
score/include/rtems/score/scheduler.h,
score/include/rtems/score/schedulerpriority.h,
score/include/rtems/score/schedulersimple.h,
score/include/rtems/score/schedulersimplesmp.h,
score/inline/rtems/score/scheduler.inl,
score/inline/rtems/score/schedulerpriority.inl, score/src/coremutexseize.c:
Pluggable scheduler priority_compare and release_job hooks

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list