From owner-svn-src-head@FreeBSD.ORG Sun Aug 14 18:16:45 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52BCE106566C; Sun, 14 Aug 2011 18:16:45 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 2CE158FC0A; Sun, 14 Aug 2011 18:16:45 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id D19FA46B09; Sun, 14 Aug 2011 14:16:43 -0400 (EDT) Date: Sun, 14 Aug 2011 19:16:43 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Alexander Best In-Reply-To: <20110814170621.GA4189@freebsd.org> Message-ID: References: <201108131603.p7DG3e80023093@svn.freebsd.org> <4E47EF64.2070405@gmail.com> <20110814170621.GA4189@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@freebsd.org, Niclas Zeising , src-committers@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r224842 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Aug 2011 18:16:45 -0000 On Sun, 14 Aug 2011, Alexander Best wrote: >> It might be worth mentioning this in UPDATING or similar, since a kernel >> built with clang (I haven't tried gcc) during this window will make it >> impossible to do a buildworld without first rebuilding the kernel with this >> fix. It also seems to break at least portsnap, and possibly other tools as >> well. > > +1. please also mention the KPI change to fget()! so many people have had > issues, where 3rd party drivers - mostly the nvidia binary driver - got > broken. The nVidia driver is rare in that it uses the file descriptor interfaces from inside a third-party driver. Most third-party drivers plug into much more limited subsets of the kernel -- newbus, busdma, the ifnet interface, the disk interface, CAM, USB, etc. The reason to merge this change now was to ensure that 9.0 shipped with the interface in its final form rather than have to try to work around the existing modules for 9.1. However, I would comment more generally that device drivers that use interfaces outside of the kernel device driver KPIs are inherently fragile. (Not sure there's anything to be done about that in the nVidia case). (Per previous e-mail, I have queued a request to re@ to update UPDATING). Robert