<robimarko>
And follow-ups changed the logic so that TRIM_UNUSED_KSYMS works better
<robimarko>
I will probably try it and see the size difference
<nbd>
oh, interesting
<nbd>
this will also need to be changed to work with out-of-tree kmods
<Ansuel>
was introduced in 4.0 and i remember checking it... but i remember there was a problem in using it... maybe problem was with not having support for whitelisting some symbols ?
<robimarko>
There is support to whitelist symbols via CONFIG_UNUSED_KSYMS_WHITELIST
<robimarko>
Since 5.7
<Ansuel>
maybe times are mature enough to make use of it? my investigation were at 5.10 times where we probably still had 5.4 targets
<Ansuel>
(hence it was problematic to support both thing in our build system)
<Ansuel>
considering the thing just drops symbols i would expect the same image size produced
<robimarko>
It should reduce the image size
<robimarko>
Especially if we use LTO
<Ansuel>
sorry i was confusing the same image size between our downstream patch and using the config option
<robimarko>
Oh, yeah
<robimarko>
As they do pretty much the same thing in the end
<robimarko>
For now I made a PR to drop the patch and not allow selecting the export symbols in menuconfig
<robimarko>
On 6.6 as it doesnt work
rua has joined #openwrt-devel
slh has quit [Remote host closed the connection]
slh64 has quit [Quit: gone]
hanetzer1 has joined #openwrt-devel
hanetzer has quit [Ping timeout: 480 seconds]
<robimarko>
Call me stupid, but how do overlays changes that end up on loop device end up being synced in the rootfs partition on MMC devices?
slh has joined #openwrt-devel
<Ansuel>
is overlay even used with loop devices?
<robimarko>
Yes
<robimarko>
The loop device is used with EXT4 or F2FS formatting
<robimarko>
And used as the upperdir
minimal has joined #openwrt-devel
tidalf has joined #openwrt-devel
mentalow has quit [Quit: :]]
mentalow has joined #openwrt-devel
mentalow has quit [Quit: :]]
mentalow has joined #openwrt-devel
tidalf has quit [Remote host closed the connection]
tidalf has joined #openwrt-devel
slh64 has joined #openwrt-devel
bluew has joined #openwrt-devel
tidalf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tidalf has joined #openwrt-devel
tidalf has quit []
tidalf has joined #openwrt-devel
tidalf has quit []
tidalf has joined #openwrt-devel
<jow>
robimarko: you mean how it works in general? Iirc the loop device is used to map the underlying bloc kdevice at a specific offset
<jow>
robimarko: the fs is formatted in the loop device and mounted from there, but the loop device is backed by the blockdevice, so all writes to the loop end up there (shifted by an offset)