Re: RFC: reduce CONFIG_SCSI_CONSTANTS impact by 4k
From: Christoph Hellwig
Date: Sun Oct 04 2015 - 04:02:42 EST
On Sun, Oct 04, 2015 at 12:09:58AM +0200, Rasmus Villemoes wrote:
> On Sat, Oct 03 2015, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>
> > Hi Rasmus,
> >
> > I like this idea. But maybe it's also time to just move the constants
> > to a plain text file and auto-generate C headers from them? That way
> > the format in which they can be edited is decoupled from the
> > representation in the kernel image.
>
> Well, I don't really have an opinion on that part.
>
> In the meantime, I got another idea for doubling the saving to 8k. It
> requires a few more code changes and is perhaps also more hacky. 2/2
> would be something like below. Please let me know which version you'd
> prefer, and I'll send both patches properly.
I don't think the new version is too bad, and the saving is impressive.
So I'd opt for the new one.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/