From owner-cvs-src@FreeBSD.ORG Fri Feb 1 19:36:27 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B7C716A418; Fri, 1 Feb 2008 19:36:27 +0000 (UTC) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5CC8013C4D5; Fri, 1 Feb 2008 19:36:27 +0000 (UTC) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m11JaR22084956; Fri, 1 Feb 2008 19:36:27 GMT (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m11JaR2n084955; Fri, 1 Feb 2008 19:36:27 GMT (envelope-from phk) Message-Id: <200802011936.m11JaR2n084955@repoman.freebsd.org> From: Poul-Henning Kamp Date: Fri, 1 Feb 2008 19:36:27 +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/share/man/man9 mbuf.9 src/sys/compat/ndis kern_ndis.c src/sys/dev/cxgb cxgb_sge.c src/sys/dev/cxgb/ulp/tom cxgb_cpl_socket.c src/sys/dev/hatm if_hatm_intr.c src/sys/dev/iscsi/initiator isc_soc.c src/sys/dev/lge if_lge.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2008 19:36:27 -0000 phk 2008-02-01 19:36:27 UTC FreeBSD src repository Modified files: share/man/man9 mbuf.9 sys/compat/ndis kern_ndis.c sys/dev/cxgb cxgb_sge.c sys/dev/cxgb/ulp/tom cxgb_cpl_socket.c sys/dev/hatm if_hatm_intr.c sys/dev/iscsi/initiator isc_soc.c sys/dev/lge if_lge.c sys/dev/msk if_msk.c sys/dev/nfe if_nfe.c sys/dev/patm if_patm_rx.c sys/dev/sk if_sk.c sys/dev/ti if_ti.c sys/dev/wpi if_wpi.c sys/kern kern_mbuf.c uipc_cow.c uipc_mbuf.c uipc_syscalls.c sys/pci if_wb.c sys/sys mbuf.h param.h Log: Give MEXTADD() another argument to make both void pointers to the free function controlable, instead of passing the KVA of the buffer storage as the first argument. Fix all conventional users of the API to pass the KVA of the buffer as the first argument, to make this a no-op commit. Likely break the only non-convetional user of the API, after informing the relevant committer. Update the mbuf(9) manual page, which was already out of sync on this point. Bump __FreeBSD_version to 800016 as there is no way to tell how many arguments a CPP macro needs any other way. This paves the way for giving sendfile(9) a way to wait for the passed storage to have been accessed before returning. This does not affect the memory layout or size of mbufs. Parental oversight by: sam and rwatson. No MFC is anticipated. Revision Changes Path 1.66 +3 -2 src/share/man/man9/mbuf.9 1.97 +1 -1 src/sys/compat/ndis/kern_ndis.c 1.49 +2 -1 src/sys/dev/cxgb/cxgb_sge.c 1.4 +2 -1 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_socket.c 1.23 +2 -2 src/sys/dev/hatm/if_hatm_intr.c 1.3 +1 -1 src/sys/dev/iscsi/initiator/isc_soc.c 1.52 +1 -1 src/sys/dev/lge/if_lge.c 1.28 +2 -2 src/sys/dev/msk/if_msk.c 1.26 +1 -1 src/sys/dev/nfe/if_nfe.c 1.9 +2 -2 src/sys/dev/patm/if_patm_rx.c 1.139 +1 -1 src/sys/dev/sk/if_sk.c 1.130 +2 -1 src/sys/dev/ti/if_ti.c 1.8 +3 -3 src/sys/dev/wpi/if_wpi.c 1.38 +4 -2 src/sys/kern/kern_mbuf.c 1.27 +2 -2 src/sys/kern/uipc_cow.c 1.176 +9 -6 src/sys/kern/uipc_mbuf.c 1.265 +1 -1 src/sys/kern/uipc_syscalls.c 1.94 +2 -2 src/sys/pci/if_wb.c 1.222 +6 -5 src/sys/sys/mbuf.h 1.330 +1 -1 src/sys/sys/param.h