Thread (19 messages) 19 messages, 9 authors, 2013-08-05

[Ksummit-2013-discuss] [ATTEND] [ARM ATTEND] kernel data bloat and how to avoid it

From: tony@atomide.com (Tony Lindgren)
Date: 2013-08-02 08:13:36
Also in: lkml

* Mel Gorman [off-list ref] [130731 08:28]:
On Wed, Jul 31, 2013 at 12:38:03AM -0700, Tony Lindgren wrote:
quoted
Hi all,

Probably the biggest kernel data bloat issue is in the ARM land, but
it also seems that it's becoming a Linux generic issue too, so I
guess it could be discussed in either context.
Would scripts/bloat-o-meter highlight where the growth problems are?
Well to some extent yes, the board/SoC/driver specific options are
often behind Kconfig options. So if you want to limit the set of
supported SoCs and drivers for the kernel you can optimize it out.

The bloat-o-meter won't help for things like checking that a device
tree binding really describes the hardware, and is not just pointing
to a table of defined registers in the device driver.

A lot of the board specific, SoC specific, driver specific, debug
specifc and so on "data" should not be in the kernel to start with
and we can provide the same level of supported features in the kernel.

Regards,

Tony
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help