> On 2000-Mar-09 10:05:21 +1100, Peter Dufault <[EMAIL PROTECTED]> wrote:
> >There's no difference between rtprio and P1003.1B scheduling other than
> >the name.  rtprio is the same as P1003.1B "SCHED_RR".
> 
> I wasn't aware of that.
> 
> >I'd like to remove the rtprio call from ntpd.  I think we ought to do
> >it now before 4.0 ships.
> 
> Given there is a known a priority inversion bug related to realtime
> (or idle) scheduling, it would seem wise not to use it in any system
> utilities.  The relevant patch would appear to be (untested):
> 
> --- /usr/src/usr.sbin/ntp/config.h    Tue Feb  1 13:56:05 2000
> +++ /tmp/config.h     Thu Mar  9 11:46:11 2000

You have to do something in the "./configure" stuff. Hopefully someone
in the know can suggest the "--with-no-foobar" option needed on the
command line so I don't have to wade into it.

Autoconfiguring POSIX realtime is a bad, bad idea because:

1. You don't know if it is available in all environments;
2. You don't know who is allowed to use it;
3. You don't know what the heck it does.

It decidedly does not mean "run as fast as you can".

Peter
--
Peter Dufault ([EMAIL PROTECTED])   Realtime development, Machine control,
HD Associates, Inc.               Fail-Safe systems, Agency approval


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to