Re: [RFC][PATCH 0/2] KABI example conversion and cleanup

Avi Kivity
2006-03-27T06:19:24Z

Rob Landley wrote:
> On Sunday 26 March 2006 12:57 pm, Avi Kivity wrote:
>
>> This is true for a small enough application. But things grow, libraries
>> are added, and includes keep pulling other includes in. Sooner or later
>> you'll have a collision.
>>
>
> And you'll fix it when it happens. Fact of life.
>
Fixing it will mean breaking either the ABI of the kernel or of the
large library you pulled in.

An ABI bug causes pain far beyond its size. Look at the trouble caused
when some interfaces uses unsigned instead of u64. In kernel APIs, you
just replace the type, but in the ABI, you add a new syscall or do some
other hack.

Much better to get it right the first time, even if it's ugly. It's an
ABI, not a beauty contest nominee.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.