Registry-related cleanups and improvements
Status from this message: Merged, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | Remove / shorten critical sections in registry codeChangeLog ksrc/ | +19 | 0 replies | |
| 2/6 | Allow key-less registry entriesChangeLog ksrc/ | +25 | 0 replies | |
| 3/6 | Native skin: Use key-less registry entriesksrc/ ksrc/ ksrc/ +8 more | +29 | 0 replies | |
| 4/6 | Eliminate xnobjhashinclude/ ksrc/ | +33 | 0 replies | |
| 5/6 | Avoid add_proc_leaf duplicatesinclude/ ksrc/ ksrc/ +3 more | +44 | 0 replies | |
| 6/6 | Report registry slot usage via /procksrc/ | +41 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Xenomai-core] [PATCH 0/6] Registry-related cleanups and improvements
Here comes the complete series of patches to improve the Xenomai registry. #1, #5, and #6 are resends of already posted patches, the middle part is fresh from the editor. The series reduces overhead and simplifies the registry code. Overall diffstat:
include/asm-generic/hal.h | 10 +- include/nucleus/registry.h | 10 -- ksrc/arch/generic/hal.c | 18 +-- ksrc/arch/generic/nmi.c | 6 - ksrc/arch/x86/nmi_32.c | 6 - ksrc/nucleus/module.c | 58 ++++------- ksrc/nucleus/registry.c | 223 ++++++++++++++++++++++----------------------- ksrc/skins/native/alarm.c | 22 +--- ksrc/skins/native/buffer.c | 15 --- ksrc/skins/native/cond.c | 14 -- ksrc/skins/native/event.c | 15 --- ksrc/skins/native/heap.c | 14 -- ksrc/skins/native/intr.c | 17 --- ksrc/skins/native/mutex.c | 15 --- ksrc/skins/native/pipe.c | 14 -- ksrc/skins/native/queue.c | 12 -- ksrc/skins/native/sem.c | 14 -- ksrc/skins/native/task.c | 16 --- 18 files changed, 182 insertions(+), 317 deletions(-)
So a net gain of more than 130 LOC.
The series passed basic tests on my virtual target.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux