From owner-freebsd-current@FreeBSD.ORG Thu Mar 4 04:21:08 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CA58C16A4CE; Thu, 4 Mar 2004 04:21:07 -0800 (PST) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.12.10/8.12.9) with ESMTP id i24CL77r011467; Thu, 4 Mar 2004 07:21:07 -0500 (EST) (envelope-from green@green.homeunix.org) Received: from localhost (green@localhost)i24CL6RG011463; Thu, 4 Mar 2004 07:21:07 -0500 (EST) Message-Id: <200403041221.i24CL6RG011463@green.homeunix.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Bruce Evans In-Reply-To: Message from Bruce Evans <20040304224900.K8400@gamplex.bde.org> From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 04 Mar 2004 07:21:06 -0500 Sender: green@green.homeunix.org cc: freebsd-current@freebsd.org Subject: Re: sysctl spinning (was: Re: ps Causes Hard Hang) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 12:21:08 -0000 Bruce Evans 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. \,,,,,,,,,,,,,,,,,,,,,,\