Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 2004 10:13:32 +0100
From:      Peter Holm <peter@holm.cc>
To:        current@freebsd.org
Subject:   Loop in userland_sysctl()
Message-ID:  <20040303091332.GA63435@peter.osted.lan>

next in thread | raw e-mail | index | archive | help
I'm able to provoke a loop in kern/kern_sysctl.c:

 1316           do {
 1317               req2 = req;
 1318               error = sysctl_root(0, name, namelen, &req2);
 1319           } while (error == EAGAIN);

Is the "do while" realy required here?

Details @ http://people.freebsd.org/~pho/stress/cons44.html

-- 
Peter Holm



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