Date: Thu, 20 Jun 2002 23:44:35 -0600 From: "Kenneth D. Merry" <ken@kdm.org> To: current@FreeBSD.org Cc: net@FreeBSD.org Subject: updated zero copy sockets snapshot available Message-ID: <20020620234435.A18183@panzer.kdm.org>
next in thread | raw e-mail | index | archive | help
I've released a new zero copy sockets snapshot, based on -current from June 20th, 2002. http://people.FreeBSD.org/~ken/zero_copy This fixes the following issues: - Use SLIST_FIRST() macros to access the first entry in a SLIST in uipc_jumbo.c. I didn't fix all of these when Alfred pointed out the problem. (Pointed out by Bosko Milekic.) - Remove superfluous TI_LOCK()/TI_UNLOCK() calls in the zero copy version of ti_newbuf_jumbo(). We already have the lock in all the places ti_newbuf_jumbo() is called. (Prompted by Bosko Milekic.) - In the SIOCGIFMEDIA ioctl in ifmedia_ioctl(), avoid calling malloc() with M_WAITOK. Return an error if the M_NOWAIT malloc fails. The ti(4) driver and the wi(4) driver, at least, call this with a mutex held. This causes witness warnings for 'ifconfig -a' with a wi(4) or ti(4) board in the system. (I've only verified for ti(4)). Feedback and comments are welcome! Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020620234435.A18183>