From owner-cvs-all@FreeBSD.ORG Mon Mar 19 18:35:16 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6369416A401; Mon, 19 Mar 2007 18:35:16 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3C1DE13C459; Mon, 19 Mar 2007 18:35:16 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l2JIZF1h098422; Mon, 19 Mar 2007 18:35:15 GMT (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l2JIZFQj098421; Mon, 19 Mar 2007 18:35:15 GMT (envelope-from andre) Message-Id: <200703191835.l2JIZFQj098421@repoman.freebsd.org> From: Andre Oppermann Date: Mon, 19 Mar 2007 18:35:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern uipc_sockbuf.c src/sys/netinet tcp_output.c src/sys/sys socketvar.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2007 18:35:16 -0000 andre 2007-03-19 18:35:14 UTC FreeBSD src repository Modified files: sys/kern uipc_sockbuf.c sys/netinet tcp_output.c sys/sys socketvar.h Log: Maintain a pointer and offset pair into the socket buffer mbuf chain to avoid traversal of the entire socket buffer for larger offsets on stream sockets. Adjust tcp_output() make use of it. Tested by: gallatin Revision Changes Path 1.166 +41 -0 src/sys/kern/uipc_sockbuf.c 1.127 +13 -3 src/sys/netinet/tcp_output.c 1.156 +10 -0 src/sys/sys/socketvar.h