Received: from eggs.gnu.org ([2001:4830:134:3::10]:44060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXS3O-0005qo-Sr for qemu-devel@nongnu.org; Tue, 08 Apr 2014 05:10:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WXS3J-0005Md-NV for qemu-devel@nongnu.org; Tue, 08 Apr 2014 05:10:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXS3J-0005MZ-EF for qemu-devel@nongnu.org; Tue, 08 Apr 2014 05:10:45 -0400 From: Markus Armbruster References: <87y4zg1edy.fsf@blackfin.pond.sub.org> Date: Tue, 08 Apr 2014 11:10:37 +0200 In-Reply-To: (Peter Crosthwaite's message of "Tue, 8 Apr 2014 17:24:15 +1000") Message-ID: <878urgw5iq.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH for-2.1 v2 0/2] Generalise FIFO to more integer types List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite Cc: Beniamino Galvani , "qemu-devel@nongnu.org Developers" , Don Slutz Peter Crosthwaite writes: > On Tue, Apr 8, 2014 at 5:14 PM, Markus Armbruster wrote: >> Peter Crosthwaite writes: >> >>> There is a utility helper for dealing with 8 bit fifos. This should be >>> applicable to other integer widths as well. These two patches >>> generalise this FIFO to work for 16, 32 and 64 bit ints. >> >> Can you show us a user for the wider FIFOs? >> > > Hi Markus, > > I have a couple out of tree that are incomplete and a bit out of scope > of this series. Rather not wait and send a complicated series spanning > multiple sub-systrems. I guess I could shop around for an easy lead > example to fix, but does the series stand in its own right? I don't like infrastructure without an in-tree user. Even if it's "only" a sensible, straightforward generalization of existing infrastructure. Infrastructure without a user tends to rot. Probably not a serious issue in this particular case. The cost of applying a change and maintaining the additional complexity needs to be justified by some gain. Even when the costs are small, like they probably are in this particular case. An in-tree user could probably justify easily.