Skip to content

lib min_heap: Improve min_heap safety, testing, and documentation

Kuan-Wei Chiu linux-doc lkml 1 version Applied

Status from this message: [merged mm-nonmm-stable] documentation-core-api-min_heap-add-author-information.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4lib min_heap: Improve type safety in min_heap macros by using container_ofinclude/linux/min_heap.h+35 -260 repliesApplied
2/4lib/test_min_heap: Use inline min heap variants to reduce attack vectorlib/Kconfig.debug lib/test_min_heap.c+15 -160 repliesApplied
3/4lib min_heap: Add brief introduction to Min Heap APIinclude/linux/min_heap.h+11 -00 repliesApplied
4/4Documentation/core-api: min_heap: Add author informationDocumentation/core-api/min_heap.rst+2 -00 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] lib min_heap: Improve min_heap safety, testing, and documentation

Improve the min heap implementation by enhancing type safety with container_of, reducing the attack vector by replacing test function calls with inline variants, and adding a brief API introduction in min_heap.h. It also includes author information in Documentation/core-api/min_heap.rst.

Kuan-Wei Chiu (4):
lib min_heap: Improve type safety in min_heap macros by using
container_of
lib/test_min_heap: Use inline min heap variants to reduce attack
vector
lib min_heap: Add brief introduction to Min Heap API Documentation/core-api: min_heap: Add author information

 Documentation/core-api/min_heap.rst |  2 +
 include/linux/min_heap.h            | 72 ++++++++++++++++++-----------
 lib/Kconfig.debug                   |  1 -
 lib/test_min_heap.c                 | 30 ++++++------
 4 files changed, 63 insertions(+), 42 deletions(-)
Signature · 1 line
2.34.1