From owner-cvs-src@FreeBSD.ORG Tue Jan 15 08:08:09 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 A77C416A418; Tue, 15 Jan 2008 08:08:09 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9119013C457; Tue, 15 Jan 2008 08:08:09 +0000 (UTC) (envelope-from kmacy@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 m0F889ZG007703; Tue, 15 Jan 2008 08:08:09 GMT (envelope-from kmacy@repoman.freebsd.org) Received: (from kmacy@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m0F889mx007702; Tue, 15 Jan 2008 08:08:09 GMT (envelope-from kmacy) Message-Id: <200801150808.m0F889mx007702@repoman.freebsd.org> From: Kip Macy Date: Tue, 15 Jan 2008 08:08:09 +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/dev/cxgb cxgb_adapter.h cxgb_multiq.c cxgb_sge.c src/sys/dev/cxgb/sys mvec.h uipc_mvec.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: Tue, 15 Jan 2008 08:08:09 -0000 kmacy 2008-01-15 08:08:09 UTC FreeBSD src repository Modified files: sys/dev/cxgb cxgb_adapter.h cxgb_multiq.c cxgb_sge.c sys/dev/cxgb/sys mvec.h uipc_mvec.c Log: - Simplify mb_free_ext_fast - increase asserts for mbuf accounting - track outstanding mbufs (maps very closely to leaked) - actually only create one thread per port if !multiq Oddly enough this fixes the use after free - move txq_segs to stack in t3_encap - add checks that pidx doesn't move pass cidx - simplify mbuf free logic in collapse mbufs routine Revision Changes Path 1.28 +1 -2 src/sys/dev/cxgb/cxgb_adapter.h 1.6 +12 -3 src/sys/dev/cxgb/cxgb_multiq.c 1.42 +28 -7 src/sys/dev/cxgb/cxgb_sge.c 1.12 +10 -3 src/sys/dev/cxgb/sys/mvec.h 1.21 +40 -25 src/sys/dev/cxgb/sys/uipc_mvec.c