From owner-cvs-src@FreeBSD.ORG Tue Nov 16 16:09:47 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 562DA16A4CE; Tue, 16 Nov 2004 16:09:47 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3265843D2D; Tue, 16 Nov 2004 16:09:47 +0000 (GMT) (envelope-from jhb@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 iAGG9lsL079134; Tue, 16 Nov 2004 16:09:47 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iAGG9kEH079133; Tue, 16 Nov 2004 16:09:46 GMT (envelope-from jhb) Message-Id: <200411161609.iAGG9kEH079133@repoman.freebsd.org> From: John Baldwin Date: Tue, 16 Nov 2004 16:09:46 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_intr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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, 16 Nov 2004 16:09:47 -0000 jhb 2004-11-16 16:09:46 UTC FreeBSD src repository Modified files: sys/kern kern_intr.c Log: Adjust the interrupt storm handling code to better handle a storm. When a storm is detected, enter "storming" mode which throttles the interrupt source such that the handlers are run once every clock tick. Previously we allowed a full set of storm_threshold interations through the handler before going back to sleep. Also, this currently will intentionally exit storming mode once a second to see if the storm has passed. Tested by: marcus Discussed with: bde Revision Changes Path 1.119 +23 -5 src/sys/kern/kern_intr.c