lwbuf allocation question?
Samuel J. Greear
sjg at evilcode.net
Sun Apr 4 08:10:47 PDT 2010
What version are you looking at?
Latest doesn't sleep at all, it relies entirely on objcache, which may
sleep internally since objcache_get is being called with M_WAITOK.
On Sun, Apr 4, 2010 at 8:28 AM, Venkatesh Srinivas
<me at endeavour.zapto.org> wrote:
> Is there any reason that the lwbuf allocation code is back to tsleep(... ,
> hz) if it can't get an lwbuf from the objcache? Perhaps the tsleep should be
> without a timeout and lwbuf_free should wakeup a waiter, as it did in past
> -- vs
More information about the Kernel