Re: [PATCH v3 6/8] timers/migration: Rename childmask by parentmask to make naming more obvious

From: Frederic Weisbecker
Date: Tue Jul 02 2024 - 08:45:13 EST


Le Mon, Jul 01, 2024 at 12:18:42PM +0200, Anna-Maria Behnsen a écrit :
> childmask in the group reflects the mask that is required to 'reference'
> this group in the parent. When reading childmask, this might be confusing,
> as this suggests, that this is the mask of the child of the group.

OTOH ->parentmask could suggest this is the mask of the parent of the
group. I'm not sure which one is better. ->childmask never sounded ambiguous
to me so far.

How about ->grpmask ? (deliberately stolen from RCU's node tree).

Thanks.