[LITMUS^RT] request for review: patches for arbitrary deadlines

Björn Brandenburg bbb at mpi-sws.org
Tue Jul 17 08:43:04 CEST 2012


On Jul 17, 2012, at 8:20 AM, Christopher Kenna wrote:

> 
> I would also be for passing in a struct. We are accumulating so many
> parameters that function signatures are growing quite large and
> matching which lt_t corresponds to what is getting unwieldy. The
> perf_event subsystem has users pass in a struct for configuration, and
> I did not find it to be that annoying (barring the fact that the
> documentation is outdated). See, for example, sys_perf_event_open:
> https://github.com/torvalds/linux/blob/master/kernel/events/core.c#L6178

We already have that, sys_set_rt_param() works exactly like that. sporadic_task_ns() is just a userspace wrapper. I see no harm in keeping the wrapper as long as it covers only the simple cases (e.g., sporadic, implicit deadlines, no phase).

- Björn







More information about the litmus-dev mailing list