[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100104222429.6a386a88@lxorguk.ukuu.org.uk>
Date: Mon, 4 Jan 2010 22:24:29 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Andi Kleen <andi@...stfloor.org>,
Stefani Seibold <stefani@...bold.net>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [4/6] kfifo: add kfifo_out_peek
> Macros are unpopular, for good reasons. But the case for a
> template-based container such as this is a good one. However I worry
> about the code bloat whcih the macro version might add. We worry about
> all this later on.
Its really a special case for structs and fixed objects.
Bloat is going to be a big issue if its macro and all the serial/tty
stuff switches to it. Please keep the bytewise one none macro - even if
its a lib/foo.c file that simply uses the macros to produce the existing
new API.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists