Hi Jan,
Jan Beulich <[email protected]> writes: > On 02.12.2023 02:27, Volodymyr Babchuk wrote: >> This function can be used when user wants to remove all rangeset >> entries but do not want to destroy rangeset itself. > > I have to admit that I'm not happy with the name: We're not consistently > naming all predicate-like helpers is_...() (see e.g. cpumask_empty()). > May I suggest to use something which unambiguously expresses an action to > be taken, e.g. rangeset_purge(), rangeset_reset(), or (less suitable as > some ambiguity would remain, yet it would be in line with e.g. > cpumask_clear()) rangeset_clear()? Naming this is not my best trait, so I am open for any suggestions. From all proposed variants I like rangeset_purge() most. So if there are no other objections, I'll rename this function in the next version. -- WBR, Volodymyr
