[PATCH v4 05/19] kho: Add feature header for fine-grained ABI compatibility

Pratyush Yadav pratyush at kernel.org
Wed Dec 2 03:32:58 PST 2026


On Mon, Nov 30 2026, tarunsahu at google.com wrote:

> Pratyush Yadav <pratyush at kernel.org> writes:
[...]
>>> +#define KHO_SER_NR_FLAGS(nr_required, nr_optional) \
>>> +	DIV_ROUND_UP((__u32)(nr_required) + (__u32)(nr_optional), 64)
>>
>> That's not number of flags, that the number of bits in the bitmap.
>> Reading KHO_SER_NR_FLAGS() would make me think this is just nr_required
>> + nr_optional.
>
> I could think three name
>
> KHO_SER_FLAGS_SIZE
> KHO_SER_FLAGS_LEN

This one sounds the best to me.

> KHO_SER_FLAGS_WORDS
>
> which one is more clearer?
[...]

-- 
Regards,
Pratyush Yadav



More information about the linux-arm-kernel mailing list