Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Mar 2004 07:21:06 -0500
From:      "Brian F. Feldman" <green@freebsd.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        freebsd-current@freebsd.org
Subject:   Re: sysctl spinning (was: Re: ps Causes Hard Hang) 
Message-ID:  <200403041221.i24CL6RG011463@green.homeunix.org>
In-Reply-To: Message from Bruce Evans <bde@zeta.org.au>  <20040304224900.K8400@gamplex.bde.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans <bde@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@FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403041221.i24CL6RG011463>