]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Union-Find: add a new module in kernel library
authorXavier <xavier_qy@163.com>
Thu, 4 Jul 2024 06:24:43 +0000 (14:24 +0800)
committerTejun Heo <tj@kernel.org>
Tue, 30 Jul 2024 23:04:36 +0000 (13:04 -1000)
commit93c8332c8373fee415bd79f08d5ba4ba7ca5ad15
treede7441511fcc624ed96229dfff371e7c0d4d83d4
parent4a711dd910d0135b3d262f85612f7e17e0feb989
Union-Find: add a new module in kernel library

This patch implements a union-find data structure in the kernel library,
which includes operations for allocating nodes, freeing nodes,
finding the root of a node, and merging two nodes.

Signed-off-by: Xavier <xavier_qy@163.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/core-api/union_find.rst [new file with mode: 0644]
Documentation/translations/zh_CN/core-api/union_find.rst [new file with mode: 0644]
MAINTAINERS
include/linux/union_find.h [new file with mode: 0644]
lib/Makefile
lib/union_find.c [new file with mode: 0644]