ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
jclsn has quit [Quit: WeeChat 4.4.3]
macromorgan has quit [Ping timeout: 276 seconds]
macromorgan has joined #armlinux
AnaBanana has joined #armlinux
apritzel has quit [Ping timeout: 265 seconds]
AnaBanana has quit [Quit: Client closed]
mraynal has quit [Remote host closed the connection]
mraynal has joined #armlinux
heat has quit [Ping timeout: 248 seconds]
LeSpocky has quit [Ping timeout: 272 seconds]
LeSpocky has joined #armlinux
krzk has quit [Ping timeout: 244 seconds]
krzk has joined #armlinux
headless has joined #armlinux
iivanov has joined #armlinux
apritzel has joined #armlinux
heat has joined #armlinux
apritzel has quit [Ping timeout: 272 seconds]
monstr has joined #armlinux
headless has quit [Quit: Konversation terminated!]
frieder has joined #armlinux
iivanov_ has joined #armlinux
iivanov has quit [Ping timeout: 248 seconds]
cbeznea has joined #armlinux
mvaittin has joined #armlinux
luispm has joined #armlinux
iivanov_ has quit [Remote host closed the connection]
iivanov has joined #armlinux
<ardb>
arnd: did the armhf 64k segment alignment issue ever get resolved?
sszy has joined #armlinux
iivanov_ has joined #armlinux
iivanov has quit [Read error: Connection reset by peer]
biju has joined #armlinux
<arnd>
ardb: no. There was some interest to get a custom patch into debian, but I don't think it ever got merged
<ardb>
i'm hitting this now after switching to a 16k kernel on my yoga c630
<ardb>
this custom patch would be adding -Wl,-z,common-page-size=0x4000 to cflags for armhf?
<arnd>
I think what I suggested was a revert of the binutils patch that changed the default, but the effect should be the same
<arnd>
it used to be 0x10000, not 0x4000
<ardb>
yeah but 16k should be sufficient i suppose
<ardb>
given that debian provides a 16k kernel but not 64k
<ardb>
that might make it more palatable in general
<ardb>
although I suspect the -16k kernel package does not enable CONFIG_COMPAT at this point - we might want to change that too
crisma has joined #armlinux
<arnd>
I'm pretty sure it does based on the earlier discussions
<arnd>
debian kernels already have CONFIG_EXPERT enabled for some reason, and that meant that CONFIG_COMPAT never got turned off
<ardb>
ah fair enough
<ardb>
so the more reason to build armhf user space in a compatible fashion
<arnd>
I think the binutils package is the same between Debian and Ubuntu, and the latter ships a 64K page kernel
<ardb>
i was thinking it could simply be a dpkg build flag override
<arnd>
There was an interesting side discussion about sparse object files: ld.bfd creates sparse files for aligning the sections, but .deb packages contain a non-sparse .tar file, and unpacking this leads to /usr/{bin,lib} also not having sparse files
<arnd>
so the section alignment leads to higher disk usage, and filesystem readahead reads the extra zeroes into memory instead of using the common zero page
<ardb>
another reason to prefer 16k over 64k
<arnd>
sure, but fixing dpkg would also help arm64
<ukleinek>
linusw__: oh, I remeber. I opened the company chat and then forgot what I wanted to send. SMP isn't for humans.
<arnd>
The difference for the sparse files is fairly small. On my desktop I see with "du bin* lib* -sm" on two copies of each
<arnd>
wait, I did this in tmpfs, which uses 16KB blocks, the difference shoudl be bigger on disk with 4KB blocks
<arnd>
that's 11.3% for /usr/lib and 6.2% for /usr/bin
<ardb>
wow
<arnd>
I guess I can understand why binutils made the change to revert to 4KB pages, they correctly identified a problem, just came up with the wrong solution
<ardb>
so will tar/untar generally do the right thing once you pass it the appropriate options?
<arnd>
traditionally there were multiple incompatible extensions to store sparse files in a .tar file because the original implementation didn't do it. I'm fairly sure the default --sparse now works in a way that can be unpacked correctly and produce the exact same sparse blocks that the original had
sudeepholla_ has joined #armlinux
<arnd>
Not sure if there is a way to unpack long stretches of stored zeroes in existing archives into sparse files, or if we should do that in general
<arnd>
apparently 'fallocate --dig-holes /usr/bin/*' is also a thing
heat_ has joined #armlinux
heat has quit [Read error: Connection reset by peer]
<ardb>
nice
<ardb>
constructing the .debs with the appopriate metadata seems like a reasonable first step
heat has joined #armlinux
heat_ has quit [Ping timeout: 272 seconds]
heat has quit [Read error: Connection reset by peer]
heat has joined #armlinux
heat has quit [Ping timeout: 248 seconds]
heat has joined #armlinux
HerbY_NL has joined #armlinux
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
HerbY_NL has joined #armlinux
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
heat has quit [Remote host closed the connection]
heat has joined #armlinux
leming has quit [Ping timeout: 245 seconds]
leming has joined #armlinux
Amit_T has joined #armlinux
mvaittin has quit [Ping timeout: 264 seconds]
fvincenzo has quit [Remote host closed the connection]
mvaittin has joined #armlinux
luispm has quit [Ping timeout: 252 seconds]
monstr has quit [Remote host closed the connection]
mvaittin has quit [Ping timeout: 272 seconds]
System_Error has quit [Remote host closed the connection]
System_Error has joined #armlinux
psydroid has quit [Ping timeout: 244 seconds]
psydroid has joined #armlinux
apritzel_ has quit [Ping timeout: 252 seconds]
CLG has joined #armlinux
nsaenz has joined #armlinux
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
nsaenz has quit [Ping timeout: 252 seconds]
CLG has quit [Changing host]
CLG has joined #armlinux
CLG is now known as clegoffic
iivanov_ has quit [Remote host closed the connection]
iivanov has joined #armlinux
MyNetAz has quit [Remote host closed the connection]