From owner-cvs-all@FreeBSD.ORG Sun Jan 18 14:57:21 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29AE716A4CE; Sun, 18 Jan 2004 14:57:21 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 171AD43D4C; Sun, 18 Jan 2004 14:57:12 -0800 (PST) (envelope-from wpaul@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i0IMvB0B000330; Sun, 18 Jan 2004 14:57:11 -0800 (PST) (envelope-from wpaul@repoman.freebsd.org) Received: (from wpaul@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0IMvBmD000329; Sun, 18 Jan 2004 14:57:11 -0800 (PST) (envelope-from wpaul) Message-Id: <200401182257.i0IMvBmD000329@repoman.freebsd.org> From: Bill Paul Date: Sun, 18 Jan 2004 14:57:11 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/ndis kern_ndis.c ndis_var.h subr_ndis.c src/sys/dev/if_ndis if_ndis.c if_ndisvar.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 22:57:21 -0000 wpaul 2004/01/18 14:57:11 PST FreeBSD src repository Modified files: sys/compat/ndis kern_ndis.c ndis_var.h subr_ndis.c sys/dev/if_ndis if_ndis.c if_ndisvar.h Log: Convert from using taskqueue_swi to using private kernel threads. The problem with using taskqueue_swi is that some of the things we defer into threads might block for up to several seconds. This is an unfriendly thing to do to taskqueue_swi, since it is assumed the taskqueue threads will execute fairly quickly once a task is submitted. Reorganized the locking in if_ndis.c in the process. Cleaned up ndis_write_cfg() and ndis_decode_parm() a little. Revision Changes Path 1.30 +334 -2 src/sys/compat/ndis/kern_ndis.c 1.17 +4 -0 src/sys/compat/ndis/ndis_var.h 1.38 +9 -14 src/sys/compat/ndis/subr_ndis.c 1.29 +27 -37 src/sys/dev/if_ndis/if_ndis.c 1.8 +0 -3 src/sys/dev/if_ndis/if_ndisvar.h