[LITMUS^RT] [PATCH 0/5] RT_F_XXXX flags and other fixes

Manohar Vanga mvanga at mpi-sws.org
Thu Oct 4 12:31:03 CEST 2012


Hi all,

This set of patches removes the RT_F_SLEEP, RT_F_RUNNING and RT_F_EXIT_SEM
flags from LITMUS^RT. Some other minor cleanups are included as well. I have
left the 'flags' field in struct rt_param for private use by specific
scheduler (eg. see sched_pfair and RT_F_REQUEUE).

The last patch getting rid of RT_F_EXIT_SEM should be checked carefully in
case it is possible for the original branch to be true (ie. when RT_F_EXIT_SEM
is true).

Thanks and best regards!
/manohar

Manohar Vanga (5):
  litmus: fix compiler warning in sched_plugin.h
  litmus: fix warning about unused label in sched_pfp.c
  litmus: get rid of RT_F_SLEEP and RT_F_RUNNING
  litmus: use is_present() instead of using rt_param->present
  litmus: get rid of unused RT_F_EXIT_SEM flag

 include/litmus/litmus.h       |    7 +++++--
 include/litmus/rt_param.h     |    8 +++-----
 include/litmus/sched_plugin.h |    2 ++
 litmus/jobs.c                 |    4 ++--
 litmus/sched_cedf.c           |   38 +++++++++++++++-----------------------
 litmus/sched_gsn_edf.c        |   40 ++++++++++++++++------------------------
 litmus/sched_pfair.c          |   12 ++++++------
 litmus/sched_pfp.c            |   10 ++++++----
 litmus/sched_psn_edf.c        |    8 ++++----
 9 files changed, 59 insertions(+), 70 deletions(-)

-- 
1.7.2.5





More information about the litmus-dev mailing list