From owner-freebsd-arch@FreeBSD.ORG Mon Mar 16 10:29:05 2015 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A83C2C0B; Mon, 16 Mar 2015 10:29:05 +0000 (UTC) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebius.int.ru", Issuer "cell.glebius.int.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 12B1D787; Mon, 16 Mar 2015 10:29:04 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.9/8.14.9) with ESMTP id t2GA5w3m049360 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 16 Mar 2015 13:05:58 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.9/8.14.9/Submit) id t2GA5vM2049359; Mon, 16 Mar 2015 13:05:57 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 16 Mar 2015 13:05:57 +0300 From: Gleb Smirnoff To: John Baldwin Subject: Re: Adding new media types to if_media.h Message-ID: <20150316100557.GS17947@glebius.int.ru> References: <20150226230031.GN17947@glebius.int.ru> <1919032.aFEK3un8ig@ralph.baldwin.cx> <5501ABCA.7020203@selasky.org> <1740987.7L4GidWlzm@ralph.baldwin.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1740987.7L4GidWlzm@ralph.baldwin.cx> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Hans Petter Selasky , Adrian Chadd , mike@karels.net, "freebsd-net@freebsd.org" , Jack Vogel , freebsd-arch@freebsd.org, Eric Joyner X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2015 10:29:05 -0000 On Thu, Mar 12, 2015 at 12:01:13PM -0400, John Baldwin wrote: J> On Thursday, March 12, 2015 04:07:54 PM Hans Petter Selasky wrote: J> > On 02/28/15 13:28, John Baldwin wrote: J> > > On Friday, February 27, 2015 10:23:10 PM Gleb Smirnoff wrote: J> > >> On Thu, Feb 26, 2015 at 08:25:59PM -0800, Adrian Chadd wrote: J> > >> A> [snip] J> > >> A> J> > >> A> I think Mike's approach is good - it makes it easy to MFC to 10.2 J> > >> A> since there's extended lifecycle stuff to do there - and then we can J> > >> A> plan out how do the "betterer" fix after it's landed and churned J> > >> A> things. J> > >> J> > >> ... and we will be ought to support the "betterer" fix along with J> > >> the "not so betterer" for a very long time. J> > >> J> > >> The rock on which we split in this argument is that some developers J> > >> write their code for stable/x and then forward-port it to head, J> > >> focused on quality of result for stable/x; while other developers J> > >> do the opposite: write code to head, then consider or not consider J> > >> merging it stable/x. J> > > J> > > No, this is not quite true. Some folks have to write drivers on HEAD but also J> > > support running those drivers on older branches. The MFC's get harder when J> > > you have very different APIs on the different branches. It's already harder J> > > to test stat changes now since it requires completely different patches for J> > > <= 10 (the only thing people are supposed to use in production) vs head due to J> > > if_getcounter() and friends. Also, since 11 won't be out until 2016, that is J> > > far, far too long to wait for more media types. The stuff we need to support J> > > is already shipping in products today. We can't not support these in 10 (and J> > > possibly 9). J> > > J> > J> > Any news on this issue? Is anyone working on a solution for -head ? J> J> I believe a variant of Mike's patch is in phabricator now? There is also my patch in phab: https://reviews.freebsd.org/D2008 Mike already gave feedback on it, but I didn'y yet respond. -- Totus tuus, Glebius.