Re: [RFC 0/1][PATCH] POSIX SCHED_SPORADIC implementation for tasksand groups

From: Dario Faggioli
Date: Mon Aug 11 2008 - 10:26:06 EST


On Mon, 2008-08-11 at 07:11 -0700, Ulrich Drepper wrote:
> I'm not commenting on the code or usefulness of ht features. I just
> want to point out a problem.
Ok...

> The authors of that POSIX extension unfortunately decided to extend the
> sched_param structure. If you look at the definition of that structure
> Linux uses you'll see that there is no place for this. I.e., any
> implementation of that feature following the POSIX spec to the letter
> will introduce major headache in the form of binary incompatibility.
Yeah, I'm aware of that, as you can see in the comments inside the patch
(has the mail with the patch arrived? It seems no to me :-().

> In case the features is useful enough (I actually always thought it
> isn't an have actually proposed to remove it again from POSIX)
Uao... Thanks for your support! :-P

> then I
> would rather prefer to not claim support for this feature in the POSIX
> way. One could still implement it as described. But change the
> interface to not require the sched_param change.
It could be done like this, I agree, for sure.

I would be sorry if we implemented this but we still miss POSIX
support... But I can't imagine any other solution that is not going
cause ABI issues too.

Anyway, thanks a lot for replying.
Dario

--
<<This happens because I choose it to happen!>>
(Raistlin Majere, DragonLance Chronicles -Dragons of Spring Drawning-)
----------------------------------------------------------------------
Dario Faggioli
GNU/Linux Registered User: #340657
Web: http://www.linux.it/~raistlin
Blog: http://blog.linux.it/raistlin
SIP Account: dario.faggioli@xxxxxxxxxxxxxxxxx or
raistlin@xxxxxxxxx
Jabber Account: dario.faggioli@xxxxxxxxxx/WengoPhone
GnuPG Key ID: 4DC83AC4
GnuPG Key Fingerprint: 2A78 AD5D B9CF A082 0836 08AD 9385 DA04 4DC8 3AC4

Attachment: signature.asc
Description: This is a digitally signed message part