login
Header Space

 
 

Re: [PATCH] Move kasprintf.o to obj-y

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Sam Ravnborg <sam@...>
Cc: Christoph Hellwig <hch@...>, Alexey Dobriyan <adobriyan@...>, <akpm@...>, <linux-kernel@...>, <devel@...>
Date: Monday, September 24, 2007 - 4:09 am

On Mon, Sep 24, 2007 at 09:59:49AM +0200, Sam Ravnborg wrote:

Killing lib-y doesn't create kernel bloat if done right.  Just introduce
proper Kconfig dependencies for the truely optional parts.  But if you
look at the list of objects in lib-y you'll see that they fall in basically
three categories:

 (1) always used by core code - should be obj-y
 (2) generic implementation for arch-specific functionality, should be
     guarded by Kconfig for clarity reasons anyway
 (3) library code often but not always used by code that's not always
     built in.  Here we run into the move to obj-y to avoid compiler
     warning when used as module issue all the time.  Adding a CONFIG
     for the bigger onces actually avoids bloat over obj-y here, and
     when it's small enough obj-y is a lot safer in the presence of
     modular users

Really, trying to use the old static library use on demand concept simply
doesn't fit the way the kernel is built with it's modules and dependencies.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Move kasprintf.o to obj-y, Alexey Dobriyan, (Mon Sep 24, 3:18 am)
Re: [PATCH] Move kasprintf.o to obj-y, Christoph Hellwig, (Mon Sep 24, 3:41 am)
Re: [PATCH] Move kasprintf.o to obj-y, Sam Ravnborg, (Mon Sep 24, 3:59 am)
Re: [PATCH] Move kasprintf.o to obj-y, Christoph Hellwig, (Mon Sep 24, 4:09 am)
Re: [PATCH] Move kasprintf.o to obj-y, Sam Ravnborg, (Mon Sep 24, 4:29 am)
Re: [PATCH] Move kasprintf.o to obj-y, Andrew Morton, (Mon Sep 24, 4:21 am)
speck-geostationary