sysctl spinning (was: Re: ps Causes Hard Hang)
Brian F. Feldman
green at freebsd.org
Thu Mar 4 04:21:08 PST 2004
Bruce Evans <bde at zeta.org.au> wrote:
> On Thu, 4 Mar 2004, Don Lewis wrote:
> > There may be cases when it is valid to retry the request.
> >
> > The code that loops on EAGAIN was added in the rev 1.63 of
> > kern_sysctl.c.
>
> I think EAGAIN was only meant for retrying after transient changes
> to the data.
Do you think you could document and clarify this if you find out for
certain, especially with regard to EWOULDBLOCK (which should have the same
intention, or our implementation is broken).
--
Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\
<> green at FreeBSD.org \ The Power to Serve! \
Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\
More information about the freebsd-current
mailing list