[PATCH-cpuset v7 0/2] Add Union-Find and use it to optimize cpuset
From: Xavier
Date: Sat Jun 22 2024 - 22:40:22 EST
Hi Tejun,
I think I understand your point now. I have modified the Union-Find
implementation so that the allocation and deallocation are handled by the
user, providing only the initialization interface. Thanks for your
suggestion.
Kindly review.
Best Regards,
Xavier
Xavier (2):
Union-Find: add a new module in kernel library
cpuset: use Union-Find to optimize the merging of cpumasks
Documentation/core-api/union_find.rst | 101 ++++++++++++++++++
.../zh_CN/core-api/union_find.rst | 86 +++++++++++++++
MAINTAINERS | 9 ++
include/linux/union_find.h | 24 +++++
kernel/cgroup/cpuset.c | 99 +++++++----------
lib/Makefile | 2 +-
lib/union_find.c | 33 ++++++
7 files changed, 295 insertions(+), 59 deletions(-)
create mode 100644 Documentation/core-api/union_find.rst
create mode 100644 Documentation/translations/zh_CN/core-api/union_find.rst
create mode 100644 include/linux/union_find.h
create mode 100644 lib/union_find.c
--
2.45.2