From owner-freebsd-arch@FreeBSD.ORG Sun Feb 8 13:09:54 2009 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1F56106566B for ; Sun, 8 Feb 2009 13:09:54 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from proxy.meer.net (proxy.meer.net [64.13.141.13]) by mx1.freebsd.org (Postfix) with ESMTP id 926858FC08 for ; Sun, 8 Feb 2009 13:09:54 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from mail.meer.net (mail.meer.net [64.13.141.3]) by proxy.meer.net (8.14.3/8.14.3) with ESMTP id n18D9qVj088069; Sun, 8 Feb 2009 05:09:52 -0800 (PST) (envelope-from gnn@neville-neil.com) Received: from mail2.meer.net (mail2.meer.net [64.13.141.16]) by mail.meer.net (8.13.3/8.13.3/meer) with ESMTP id n18D90pG013979; Sun, 8 Feb 2009 05:09:00 -0800 (PST) (envelope-from gnn@neville-neil.com) Received: from 207.sub-75-194-105.myvzw.com.neville-neil.com (cpe-68-175-68-135.nyc.res.rr.com [68.175.68.135]) (authenticated bits=0) by mail2.meer.net (8.14.1/8.14.3) with ESMTP id n18D8x8o012236; Sun, 8 Feb 2009 05:08:59 -0800 (PST) (envelope-from gnn@neville-neil.com) Date: Sun, 08 Feb 2009 08:08:59 -0500 Message-ID: From: gnn@freebsd.org To: "M. Warner Losh" In-Reply-To: <20090208.000115.-1145158523.imp@bsdimp.com> References: <20090208.000115.-1145158523.imp@bsdimp.com> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.3 (i386-apple-darwin9.6.0) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: undef - spam scanning disabled X-CanIt-Geo: No geolocation information available for 64.13.141.3 X-CanItPRO-Stream: default X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 64.13.141.13 Cc: arch@freebsd.org Subject: Re: Small syntactic sugar addition to kobj X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2009 13:09:55 -0000 At Sun, 08 Feb 2009 00:01:15 -0700 (MST), M. Warner Losh wrote: > > Greetings, > > I'd like to propose a small syntactic sugar coating for kobj. I'd > like to propose: > > #define KOBJMETHOD_END { NULL, NULL } > > which can be used in place of the current { 0, 0 } used to end the > lists in kobj function lists. That's an easy one. I don't see why we wouldn't do that. Later, George