From owner-p4-projects@FreeBSD.ORG Thu Nov 4 22:53:00 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id EB4E416A4D0; Thu, 4 Nov 2004 22:52:59 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C512416A4CE for ; Thu, 4 Nov 2004 22:52:59 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9A3B43D48 for ; Thu, 4 Nov 2004 22:52:59 +0000 (GMT) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id iA4Mqx8w042709 for ; Thu, 4 Nov 2004 22:52:59 GMT (envelope-from sam@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iA4MqxiO042706 for perforce@freebsd.org; Thu, 4 Nov 2004 22:52:59 GMT (envelope-from sam@freebsd.org) Date: Thu, 4 Nov 2004 22:52:59 GMT Message-Id: <200411042252.iA4MqxiO042706@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to sam@freebsd.org using -f From: Sam Leffler To: Perforce Change Reviews Subject: PERFORCE change 64270 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2004 22:53:00 -0000 http://perforce.freebsd.org/chv.cgi?CH=64270 Change 64270 by sam@sam_ebb on 2004/11/04 22:52:53 mark tx descriptors for non-data frames with TXDESCINT so they are reaped more quickly; this potentially helps reclaim node state sooner since the last reference is typically reclaimed when reaping the tx of the deauth/deassoc frame Affected files ... .. //depot/projects/wifi/sys/dev/ath/if_ath.c#9 edit Differences ... ==== //depot/projects/wifi/sys/dev/ath/if_ath.c#9 (text+ko) ==== @@ -2869,7 +2869,8 @@ * NB: use >= to deal with sc_txintrperiod changing * dynamically through sysctl. */ - if (++txq->axq_intrcnt >= sc->sc_txintrperiod) { + if (atype != HAL_PKT_TYPE_NORMAL || + ++txq->axq_intrcnt >= sc->sc_txintrperiod) { flags |= HAL_TXDESC_INTREQ; txq->axq_intrcnt = 0; }