Skip to content

lib: Extending support for scope-based resource management

Markus Elfring kernel-janitors linux-crypto linux-mm lkml llvm oe-kbuild-all 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v2 posting 2/21 patch 4 repliesSuperseded
  3. v2 posting 1/21 patch 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch0 repliesSuperseded

Changes in v3 from the cover letter

* Applications were added as requested (by Herbert Xu) for the proposed programming interface extension.

* Further adjustments were provided for the demonstration of an evolving programming interface.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3crypto: lib/mpi - Extend support for scope-based resource managementinclude/linux/mpi.h+4 -00 replies
2/3lib/digsig: Use scope-based resource management for two MPI variables in digsig_verify_rsa()lib/digsig.c+43 -370 replies
3/3lib/digsig: Use scope-based resource management for two variables in digsig_verify_rsa()lib/digsig.c+42 -450 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/3] lib: Extending support for scope-based resource management

From: Markus Elfring <[email protected]>
Date: Sat, 12 Oct 2024 15:48:05 +0200

Some development ideas were taken into account according to evolving discussions.

Markus Elfring (3):
crypto: lib/mpi - Extend support for scope-based resource management lib/digsig: Use scope-based resource management for two MPI variables
in digsig_verify_rsa()
lib/digsig: Use scope-based resource management for two variables
in digsig_verify_rsa()

 include/linux/mpi.h |   4 ++
 lib/digsig.c        | 107 +++++++++++++++++++++++---------------------
 2 files changed, 59 insertions(+), 52 deletions(-)

V3:
* Applications were added as requested (by Herbert Xu) for the proposed programming interface extension.

* Further adjustments were provided for the demonstration of an evolving programming interface.

V2:
The kernel build service pointed out that the proposed identifier “T_” was not recognised by the compiler.
Thus reserved identifiers need still be applied also at such a place instead so far.
I became curious under which circumstances corresponding development concerns will be reconsidered any more.

--
2.46.1