Date: Sun, 9 Mar 2008 22:20:17 GMT From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 137274 for review Message-ID: <200803092220.m29MKHUr087666@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=137274 Change 137274 by csjp@ibm01 on 2008/03/09 22:19:22 Remove comment. We no longer require system calls on wakeup unless we have timed out. Affected files ... .. //depot/projects/zcopybpf/src/sys/net/bpf.c#47 edit Differences ... ==== //depot/projects/zcopybpf/src/sys/net/bpf.c#47 (text+ko) ==== @@ -1744,11 +1744,6 @@ (*cpfn)(d, d->bd_sbuf, curlen + hdrlen, pkt, hdr.bh_caplen); d->bd_slen = curlen + totlen; - /* - * XXXCSJP we could probably save a syscall per wakeup if we check the - * d->bd_immediate flag, hold buffer status and rotate the buffers - * before the wakeup. - */ if (do_wakeup) bpf_wakeup(d); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803092220.m29MKHUr087666>