lkml.org 
[lkml]   [2015]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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.


\
 
 \ /
  Last update: 2015-10-04 10:21    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog