From owner-freebsd-stable@FreeBSD.ORG Mon Nov 15 15:55:30 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C7F7106564A for ; Mon, 15 Nov 2010 15:55:30 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id 3795D8FC2B for ; Mon, 15 Nov 2010 15:55:30 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:808a:bf97:8eb:f23b] ([IPv6:2607:f3e0:0:4:808a:bf97:8eb:f23b]) by smarthost1.sentex.ca (8.14.4/8.14.4) with ESMTP id oAFFtRCN037287 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 15 Nov 2010 10:55:28 -0500 (EST) (envelope-from mike@sentex.net) Message-ID: <4CE157EC.6010007@sentex.net> Date: Mon, 15 Nov 2010 10:55:24 -0500 From: Mike Tancsa User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-stable@freebsd.org X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on IPv6:2607:f3e0:0:1::12 Subject: interrupt resource clean up X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2010 15:55:30 -0000 While trying to debug an issue with an em nic, I noticed that if I unload the kld which previously had the nic using multiple msi interrupts, and then load it with msix disabled, vmstat -i shows some funny output e.g. before interrupt total rate irq4: uart0 37945 0 irq16: siis0 90443357 55 irq18: arcmsr0 138839249 84 irq19: bge0 twa0 4642943 2 irq21: ehci0 11565862 7 irq23: ehci1 3279942 2 cpu0: timer 3279559638 2000 irq256: em0 1609329648 981 irq257: em1:rx 0 756066703 461 irq258: em1:tx 0 595711018 363 irq259: em1:link 41186 0 irq260: ahci0 94752814 57 cpu1: timer 3279552436 2000 cpu3: timer 3279552195 2000 cpu2: timer 3279550937 2000 Total 16422925873 10015 and after # vmstat -i interrupt total rate irq4: uart0 42144 0 irq16: siis0 93796258 54 irq18: arcmsr0 144244159 83 irq19: bge0 twa0 4840729 2 irq21: ehci0 12015466 6 irq23: ehci1 3436876 2 cpu0: timer 3436486096 2000 irq256: em0 1719107713 1000 irq257: em1 767271792 446 irq258: 605077993 352 irq259: 41186 0 irq260: ahci0 98454608 57 cpu1: timer 3436478875 2000 cpu3: timer 3436478653 2000 cpu2: timer 3436477132 2000 Total 17194249680 10007 Is this just a display issue, or are the resources still allocated ? ---Mike