From owner-freebsd-current@FreeBSD.ORG Fri Oct 28 13:56:40 2005 Return-Path: X-Original-To: freebsd-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 F150216A41F; Fri, 28 Oct 2005 13:56:40 +0000 (GMT) (envelope-from djp@polands.org) Received: from corinth.polands.org (CPE-72-129-222-120.new.res.rr.com [72.129.222.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A24343D55; Fri, 28 Oct 2005 13:56:39 +0000 (GMT) (envelope-from djp@polands.org) Received: from jericho.polands.org (jericho.polands.org [172.16.1.35]) by corinth.polands.org (8.13.4/8.13.4) with ESMTP id j9SDudFx083012; Fri, 28 Oct 2005 08:56:39 -0500 (CDT) (envelope-from djp@polands.org) Received: from jericho.polands.org (localhost [127.0.0.1]) by jericho.polands.org (8.13.4/8.13.1) with ESMTP id j9SDuccW046319; Fri, 28 Oct 2005 08:56:38 -0500 (CDT) (envelope-from djp@jericho.polands.org) Received: (from djp@localhost) by jericho.polands.org (8.13.4/8.13.1/Submit) id j9SDucq0046318; Fri, 28 Oct 2005 08:56:38 -0500 (CDT) (envelope-from djp) Date: Fri, 28 Oct 2005 08:56:38 -0500 From: Doug Poland To: Robert Watson Message-ID: <20051028135638.GC43527@polands.org> References: <20051028045457.GA44396@polands.org> <20051028140301.X20147@fledge.watson.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051028140301.X20147@fledge.watson.org> User-Agent: Mutt/1.5.11 X-Virus-Scanned: ClamAV 0.87/1149/Thu Oct 27 15:20:09 2005 on corinth.polands.org X-Virus-Status: Clean Cc: freebsd-current@freebsd.org Subject: Re: 6.0 and "options PREEMPTION" 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: Fri, 28 Oct 2005 13:56:41 -0000 On Fri, Oct 28, 2005 at 02:04:37PM +0100, Robert Watson wrote: > On Thu, 27 Oct 2005, Doug Poland wrote: > > > One of the other nice benefits to the SMPVFS work is that with our > > fully preemptive 6.x kernel, not holding the Giant lock over the > > file system code lets the file system code not only preempt lower > > precedence kernel threads, such as background crypto operations or > > file system operations, but be preempted by more timing critical > > code, such as sound card interrupts, network I/O, and so on. > > > >Does this mean that options PREEMPTION is assumed in 6.0? If not, > >could someone explain or point me to some docs that will help me > >understand. > > In FreeBSD 6.0 and higher, options PREEMPTION appears in the default > kernel configuration (GENERIC). > Thank you > When upgrading from earlier revisions, if you keep the same config > file, you'll need to add it manually. With the advent of "include" > support in newer FreeBSD versions, I find I generally have my own > include file include GENERIC, then add nodevice/nooptions to remove > things I don't want, and device/options to add things I do want. The > I've been using the include technique for some time but was unaware of nodevice/nooptions. Sounds cleaner that commenting out unwanted devices and options. -- Regards, Doug