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 _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"