Bug 6941 - microLinux: Automatic code elimination
Summary: microLinux: Automatic code elimination
Status: RESOLVED OBSOLETE
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.8
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 1.8 M4
Assignee: Tom Zanussi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-11-07 21:07 UTC by Tom Zanussi
Modified: 2015-02-09 23:59 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Zanussi 2014-11-07 21:07:57 UTC
One important use case of microLinux is the size minimization of dedicated single-purpose embedded systems.  In cases like that, it should be possible to apply various techniques to exhaustively determine which code paths will and will not ever be executed on such a system.

This is actually a superset of 'automatic syscall elimination' but recognizes that there's nothing special about syscalls in this respect - all kernel code should be subject to these techniques.

I think some of the existing dynamic tracing infrastructure as well as some refactoring and reuse of certain parts of the hash triggers patchset could be applied to this problem.

In my ELC talk, I called this 'Trace Guided Optimization' - basically the application of tracing techniques to optimize out unused parts of a given single-purpose system.
Comment 1 Jessica 2015-02-09 23:59:38 UTC
MicroLinux is moved out of project