Thread (5 messages) 5 messages, 4 authors, 2024-12-20

Re: [PATCH net-next v1] net: stmmac: Drop useless code related to ethtool rx-copybreak

flat view

From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-12-19 00:42:08
Also in: linux-arm-kernel, lkml

On Wed, 18 Dec 2024 16:48:38 +0100 Alexander Lobakin wrote:
If sizeof(dma_addr_t) == 8, you're clearly introducing a 4-byte hole
here. Perhaps you could reshuffle the struct a bit to avoid this.

It's always good to inspect the .kos with pahole after modifying
structures to make sure there are no regressions.
Pretty off topic but I have a dumb question - how do you dump a struct
with pahole using debug info or BTF from a random .ko?
Ever since pahole got converted to BTF modules stopped working for me :S
I never cared enough to check as most interesting stuff is built-in
in Meta's kernels but it annoys me every now and then..
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help