public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] lib min_heap: Improve min_heap safety, testing, and documentation
@ 2024-11-29 18:12 Kuan-Wei Chiu
  2024-11-29 18:12 ` [PATCH 1/4] lib min_heap: Improve type safety in min_heap macros by using container_of Kuan-Wei Chiu
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Kuan-Wei Chiu @ 2024-11-29 18:12 UTC (permalink / raw)
  To: akpm, corbet; +Cc: geert, jserv, linux-kernel, linux-doc, Kuan-Wei Chiu

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(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-11-29 18:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-29 18:12 [PATCH 0/4] lib min_heap: Improve min_heap safety, testing, and documentation Kuan-Wei Chiu
2024-11-29 18:12 ` [PATCH 1/4] lib min_heap: Improve type safety in min_heap macros by using container_of Kuan-Wei Chiu
2024-11-29 18:12 ` [PATCH 2/4] lib/test_min_heap: Use inline min heap variants to reduce attack vector Kuan-Wei Chiu
2024-11-29 18:12 ` [PATCH 3/4] lib min_heap: Add brief introduction to Min Heap API Kuan-Wei Chiu
2024-11-29 18:12 ` [PATCH 4/4] Documentation/core-api: min_heap: Add author information Kuan-Wei Chiu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox