[RTEMS Project] #4213: libbsd: Reduce footprint of minimal buildset
RTEMS trac
trac at rtems.org
Fri Jan 8 07:55:11 UTC 2021
#4213: libbsd: Reduce footprint of minimal buildset
--------------------------------+---------------------------------
Reporter: Christian Mauderer | Owner: Christian Mauderer
Type: project | Status: assigned
Priority: normal | Milestone: Indefinite
Component: network/libbsd | Version:
Severity: normal | Resolution:
Keywords: SoC libbsd | Blocked By:
Blocking: |
--------------------------------+---------------------------------
Comment (by Christian Mauderer):
Thanks for the suggestion. Just to make it clear: I wouldn't like big
changes in the FreeBSD sources either. The target should _not_ be to
replace existing functionality with new code. The target would be to find
locations where the garbage collection doesn't work. For example: As soon
as WLAN is enabled (net80211 = on) ifconfig needs some additional stuff.
To prevent the linker pulling that always in there is a #ifdef in
ifconfig.c:
#ifdef RTEMS_BSD_MODULE_NET80211
ieee80211_ctor();
#endif
I assume that the same is true for some other functionality. For example:
Do we always need the "vlan" functionality in ifconfig? Or would it be
possible to disable it?
Run-time memory effects are a lot harder to analyze. Of course that would
be nice too but I'm not sure whether someone who is new to RTEMS has the
insight that is necessary to analyze that or has the insight to see the
use cases that we have.
--
Ticket URL: <http://devel.rtems.org/ticket/4213#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list