From owner-freebsd-current@FreeBSD.ORG Wed Jun 27 05:41:10 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BBB4116A400 for ; Wed, 27 Jun 2007 05:41:10 +0000 (UTC) (envelope-from vehemens@verizon.net) Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by mx1.freebsd.org (Postfix) with ESMTP id 9BCCC13C45D for ; Wed, 27 Jun 2007 05:41:10 +0000 (UTC) (envelope-from vehemens@verizon.net) Received: from susy.dsl-verizon.net ([71.106.254.248]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JKA00ENH54HPRM4@vms042.mailsrvcs.net> for freebsd-current@freebsd.org; Wed, 27 Jun 2007 00:41:05 -0500 (CDT) Date: Tue, 26 Jun 2007 22:39:36 -0700 From: vehemens In-reply-to: To: freebsd-current@freebsd.org Message-id: <200706262239.37281.vehemens@verizon.net> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Content-disposition: inline References: User-Agent: KMail/1.9.6 Subject: Re: KSE was Re: open/close/ioctl api change? 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: Wed, 27 Jun 2007 05:41:10 -0000 On Monday 25 June 2007 12:31:46 pm Danny Braniss wrote: > Julian, > I compiled the kernel, and DEFAULT contains > option KSE > then I compiled the loadable module, outside the source tree, where > KSE is not defined, the thread structure has #ifdef KSE ... #endif > so my module sees a different thread structure. The real arguable issue > is that the #ifdef KSE is below the *td_proc, So td->proc should not > be affected by the ifdef. BTW, it was NULL when compiled for i386, > garbage for amd64. The KSE structure option also broke my DRM modules. Is the plan to eliminate the KSE option from the headers?