看板 DFBSD_kernel 關於我們 聯絡資訊
What version are you looking at? http://gitweb.dragonflybsd.org/dragonfly.git/blob/HEAD:/sys/cpu/i386/misc/lwbuf.c Latest doesn't sleep at all, it relies entirely on objcache, which may sleep internally since objcache_get is being called with M_WAITOK. Sam On Sun, Apr 4, 2010 at 8:28 AM, Venkatesh Srinivas <me@endeavour.zapto.org> wrote: > Hi, > 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 > revisions? > Thanks, > -- vs >