[LITMUS^RT] Question about the RT_F_XXX flags

Glenn Elliott gelliott at cs.unc.edu
Thu Oct 4 00:02:53 CEST 2012


On Oct 3, 2012, at 5:40 PM, Manohar Vanga <mvanga at mpi-sws.org> wrote:

> Hey all,
> 
>>> We could just replace it with a single bit field in the rt_param struct.  There are already many "int myvar:1" fields in rt_param.
>> 
>> Indeed. Patches welcome (after RTAS).
> 
> I am patching this up at the moment and I notice that another flag RT_F_EXIT_SEM exists to indicate that a task was suspended due to a semaphore being acquired. There are checks for this flag in sched_cedf.c and sched_gsn_edf.c however the flag itself if never set anywhere. Can I assume this is also an artifact from an older version and get rid of it? Or does it serve a purpose I am unable to see (with my grepping eyes :D)?
> 
> Thanks!
> /manohar

Looks like you can nuke it.  There was a more complicated version of FMLP that Björn replaced two or three years ago.  This might be left over from back then.





More information about the litmus-dev mailing list