Re: [PATCH v9 0/5] use bin_attribute to break the size limitation of cpumap ABI

From: Barry Song
Date: Thu Aug 12 2021 - 00:44:47 EST


> V9:
> - Split bitmask and list APIs and removed bool parameter with respect to
> Greg's comment
> - Removed duplication in code doc
>
...
>
> Background:
>
> the whole story began from this thread when Jonatah and me tried to add a
> new topology level-cluster which exists on kunpeng920 and X86 Jacobsville:
> https://lore.kernel.org/lkml/YFRGIedW1fUlnmi+@xxxxxxxxx/
> https://lore.kernel.org/lkml/YFR2kwakbcGiI37w@xxxxxxxxx/
>

Hi Greg,
Will you take this series so that I can rebase the cluster-scheduler series[1] on top of
this? that cluster series is where this ABI series really get started. I am looking forward
to sending a normal patchset for cluster series after this ABI series settles down.

[1] scheduler: expose the topology of clusters and add cluster scheduler
https://lore.kernel.org/lkml/20210420001844.9116-1-song.bao.hua@xxxxxxxxxxxxx/

>
> Barry Song (1):
> lib: test_bitmap: add bitmap_print_bitmask/list_to_buf test cases
>
> Tian Tao (3):
> cpumask: introduce cpumap_print_list/bitmask_to_buf to support large
> bitmask and list
> topology: use bin_attribute to break the size limitation of cpumap ABI
> drivers/base/node.c: use bin_attribute to break the size limitation of
> cpumap ABI
>
> Yury Norov (1):
> bitmap: extend comment to bitmap_print_bitmask/list_to_buf
>
> drivers/base/node.c | 63 +++++++++++------
> drivers/base/topology.c | 115 ++++++++++++++++--------------
> include/linux/bitmap.h | 6 ++
> include/linux/cpumask.h | 38 ++++++++++
> lib/bitmap.c | 121 ++++++++++++++++++++++++++++++++
> lib/test_bitmap.c | 150 ++++++++++++++++++++++++++++++++++++++++
> 6 files changed, 418 insertions(+), 75 deletions(-)
>
> --
> 2.25.1

Thanks
Barry