On Mon, Dec 11, 2023 at 12:21 PM wrote:
>
> From: Lukas Funke
>
> Add 'for_each_set_bitrange' (from Linux kernel) in order to iterate
> over each set bitrange of a bitmap. This becomes handy if one wants
> to generate a cpu list i.e. for isolcpu or nohz_full.
>
> Signed-off-by: Lukas Funke
> ---
From: Lukas Funke
Add 'for_each_set_bitrange' (from Linux kernel) in order to iterate
over each set bitrange of a bitmap. This becomes handy if one wants
to generate a cpu list i.e. for isolcpu or nohz_full.
Signed-off-by: Lukas Funke
---
include/linux/bitmap.h | 7 +++
1 file changed, 7
2 matches
Mail list logo