4 ms·
This is part of the reason why the Linux kernel doesn’t have a stable API. Quote from https://github.com/torvalds/linux/blob/master/Documentation/process/stabl
by winter_blue 7y ago
This is part of the reason why the Linux kernel doesn’t have a stable API.
Quote from https://github.com/torvalds/linux/blob/master/Documentation/process/stable-api-nonsense.rst https://github.com/torvalds/linux/blob/master/Documentation/...:
> Depending on the version of the C compiler you use, different kernel data structures will contain different alignment of structures, and possibly include different functions in different ways (putting functions inline or not.) The individual function organization isn't that important, but the different data structure padding is very important.
- saagarjha 7y agoI don't think this is quite related: this article is about array sizes being part of the ELF ABI, while what you've linked is a discussion of the Linux kernel not having a stable API.