On 04.07.2011, at 13:37, Avi Kivity wrote:

> On 07/04/2011 02:36 PM, Alexander Graf wrote:
>> >
>> >  What intermediate steps?  We can't add fields to the structure before we 
>> > get the extensibility infrastructure, but that's all.
>> 
>> If we add it now without extensibility code, we will have a kernel that only 
>> knows the ioctl with the size as it is now. If we later add another field, 
>> the ioctl size changes which would render new user space running on that 
>> particular kernel to fail, because it doesn't have the "just truncate the 
>> ioctl param to the size" logic yet.
> 
> You're right.  So let's add the padding now, and only use the great new stuff 
> after it's actually in.
> 
> Working ugly is better than broken pretty.

Hrm. Too bad :).


Alex

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to