Messages in this thread |  | | Date | Sun, 4 Oct 2015 01:02:17 -0700 | | From | Christoph Hellwig <> | | Subject | Re: RFC: reduce CONFIG_SCSI_CONSTANTS impact by 4k |
| |
On Sun, Oct 04, 2015 at 12:09:58AM +0200, Rasmus Villemoes wrote: > On Sat, Oct 03 2015, Christoph Hellwig <hch@infradead.org> 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.
|  |