[LITMUS^RT] Scheduler and job communication

Björn Brandenburg bbb at mpi-sws.org
Tue Jul 10 09:17:38 CEST 2012


On Jul 9, 2012, at 5:49 PM, William Kelley wrote:
> 
> I was looking at this Netlink Protocol Library http://www.infradead.org/~tgr/libnl/ to communicate between kernel space and user space and was wondering if anyone has a better suggestion for doing this. I want to let the job tell the scheduler when it is finished and the scheduler to be able to talk back to the job.


Hi William,

we have the (ill-named) system call 'sleep_next_period()' to communicate job completions. To communicate information from the scheduler to each task, you can use the control page (see rt_param.h), which avoids system call overhead entirely.

- Björn





More information about the litmus-dev mailing list