login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
24
Re: [PATCH] Move kasprintf.o to obj-y
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: Christoph Hellwig <hch@...>
Cc: Sam Ravnborg <sam@...>, Alexey Dobriyan <adobriyan@...>, <linux-kernel@...>, <devel@...>
Subject:
Re: [PATCH] Move kasprintf.o to obj-y
Date: Monday, September 24, 2007 - 4:21 am
On Mon, 24 Sep 2007 09:09:48 +0100 Christoph Hellwig <hch@infradead.org> wrote:
quoted text
> On Mon, Sep 24, 2007 at 09:59:49AM +0200, Sam Ravnborg wrote: > > > Please kill lib-y while you're at it. It's useless and a constant > > > source of pain like this. > > Kernel-bloat is another "constant source of pain". > > But the troubles are that increased blot does not result in compiler erros. > > > > And your proposal to kil lib-y is a counter-act here. > > 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.
yup, it duplicates what the config system does and is a common source of problems. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
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)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Mark Lord
2.6.25-rc8: FTP transfer errors
Kamalesh Babulal
Re: 2.6.23-rc6-mm1
Greg Kroah-Hartman
[PATCH 025/196] paride: Convert from class_device to device for block/paride
Stephen Rothwell
Announce: Linux-next (Or Andrew's dream :-))
git
:
linux-netdev
:
Linus Torvalds
Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49
David Miller
Re: [GIT]: Networking
Gerrit Renker
[PATCH 18/37] dccp: Support for Mandatory options
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
13 users
and
1070 guests
online.
Online users
zeekec
militarydating
ocroexjqwwuuuj
rewinder345
shrimpscampidb
jeansmenvtrv
Alanamomu
refresh74
housepaintingc
cuidarerpoz
wholesaleelect
BonSwi89mld
yamasakinu
Syndicate