From owner-freebsd-current@FreeBSD.ORG Fri Oct 28 13:04: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 1E09E16A41F for ; Fri, 28 Oct 2005 13:04:40 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC59643D45 for ; Fri, 28 Oct 2005 13:04:39 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 1163F46B16; Fri, 28 Oct 2005 09:04:38 -0400 (EDT) Date: Fri, 28 Oct 2005 14:04:37 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Doug Poland In-Reply-To: <20051028045457.GA44396@polands.org> Message-ID: <20051028140301.X20147@fledge.watson.org> References: <20051028045457.GA44396@polands.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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:04:40 -0000 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). 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 SMP kernel configuration is an example of this, as it includes GENERIC but adds SMP. Robert N M Watson