taskstats ABI breakage
taskstats ABI breakage
Posted Jul 4, 2025 16:11 UTC (Fri) by JohnMoon (subscriber, #157189)In reply to: taskstats ABI breakage by pabs
Parent article: Kernel API specification and validation
Notably, there's already some tooling in the kernel that could have caught this particular breakage. Apparently, nobody ran it:
./scripts/check-uapi.sh -b 658eb5ab916ddc92f294dbce8e3d449470be9f86 -i --- snip --- ==== ABI differences detected in include/linux/cgroupstats.h from \ 658eb5ab916ddc92f294dbce8e3d449470be9f86^1 - 658eb5ab916ddc92f294dbce8e3d449470be9f86 ==== [C] 'struct taskstats' changed: type size changed from 3456 to 3968 (in bits) 8 data member insertions: --- snip --- 50 data member changes: '__u64 blkio_count' offset changed from 256 to 320 (in bits) (by +64 bits) '__u64 blkio_delay_total' offset changed from 320 to 384 (in bits) (by +64 bits) ...
Posted Jul 4, 2025 23:58 UTC (Fri)
by skissane (subscriber, #38675)
[Link]
I notice there are already robots building/testing kernels automatically and sending emails to LKML when it fails.
Surely it wouldn't be a lot of work to have one of those robots automatically run "check-uapi.sh" too?
taskstats ABI breakage