Re: [PATCH v4 05/19] kho: Add feature header for fine-grained ABI compatibility
From: Pratyush Yadav
Date: Wed Dec 02 2026 - 06:33:10 EST
On Mon, Nov 30 2026, tarunsahu@xxxxxxxxxx wrote:
> Pratyush Yadav <pratyush@xxxxxxxxxx> 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