PERFORCE change 137274 for review

Christian S.J. Peron csjp at FreeBSD.org
Sun Mar 9 22:20:18 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=137274

Change 137274 by csjp at 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);
 }


More information about the p4-projects mailing list