From owner-freebsd-current@FreeBSD.ORG Sun Sep 18 09:46:31 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAFF016A41F for ; Sun, 18 Sep 2005 09:46:31 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.10.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2885543D46 for ; Sun, 18 Sep 2005 09:46:30 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.4/8.13.3) with ESMTP id j8I9kRG7091744 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sun, 18 Sep 2005 11:46:27 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.4/8.13.3/Submit) id j8I9kRgn091743 for current@freebsd.org; Sun, 18 Sep 2005 11:46:27 +0200 (CEST) Date: Sun, 18 Sep 2005 11:46:27 +0200 From: Divacky Roman To: current@freebsd.org Message-ID: <20050918094627.GA91681@stud.fit.vutbr.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2i X-Scanned-By: MIMEDefang 2.49 on 147.229.10.14 Cc: Subject: [PATCH]: some optimizations related to vrele + stuff X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2005 09:46:31 -0000 hi there are places with mtx_lock(&Giant);vrele(...);mtx_unlock(&Giant); which is unecessary + some other Giant usages which is not (imho) needed its kern/86290 or the patch hysteria.sk/~neologism/kern.patch, pls test and possibly (if correct) commit thnx roman