Re: [RFC][PATCH 00/16] sched: SCHED_DEADLINE v4

From: Tadeus Prastowo
Date: Sat Apr 07 2012 - 05:55:46 EST


Hi everyone!

On Fri, 2012-04-06 at 10:25 +0200, Luca Abeni wrote:

[...]

> About BWI... A student of mine (added in cc) implemented a prototypal
> bandwidth inheritance (based on an old version of SCHED_DEADLINE). It is
> here:
> https://github.com/eus/cbs_inheritance
> (Tadeus, please correct me if I pointed to the wrong repository).

The repository is correct.

> It is not for inclusion yet (it is based on an old version, it is UP
> only, and it probably needs some cleanups), but it worked fine in our
> tests. Note that in this patch the BWI mechanism is not bound to
> rtmutexes, but inheritance is controlled through 2 syscalls (because we
> used BWI for client/server interactions).
> Anyway, I hope that the BWI code developed by Tadeus can be useful (or
> can be directly re-used) for implementing BWI in SCHED_DEADLINE.

For inclusion, I think the interaction between the two system calls and
RT-mutex subsystem needs some thoughts especially when multi-cores are
involved. I haven't given further thought on this matter upon the
completion of my thesis work, especially in taking into account Dario's
M-BWI approach.

For UP, the BWI syscalls implementation in the aforementioned branch
does not have Dario's BWI implementation for mutexes. And interaction
between the BWI syscalls and RT-Mutex has not been taken into account.

Happy Easter to all of you who celebrate it!

> Luca

--
Sincerely yours,
Tadeus Prastowo

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/