Skip to content

RFC: KBUS messaging subsystem

Tony Ibbs linux-embedded 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 of 5 patches 10 repliesIn review

4 of 5 patches are in this archive. The cover letter announces 5.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Documentation for KBUSDocumentation/Kbus.txt+1222 -00 replies
2/5External header file for KBUSinclude/linux/kbus_defns.h+666 -00 replies
3/5Kconfig files and Makefile for KBUSinit/Kconfig ipc/Kconfig ipc/Makefile+107 -02 replies
4/5Internal header file for KBUSipc/kbus_internal.h+709 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] RFC: KBUS messaging subsystem

KBUS is a lightweight, Linux kernel mediated, message system, particularly intended for use in embedded environments.

It is meant to be simple to use and understand. It is designed to provide predictable message delivery, deterministic message ordering, and a guaranteed reply for each request.

It is especially aimed at situations where existing solutions, such as DBUS, cannot be used, typically because of system constraints.

We have various customers using KBUS in real life, and believe it to be useful. I had a showcase table for KBUS at the ELCE in Cambridge, October last year, and there seemed to be interest.

I am hoping to get a response from this list before attempting to send to the kernel list, since I believe this list should contain people who might be most interested in using it.

The KBUS project home page is at http://kbus-messaging.org/, from which there are various useful links.

There is a working repository with Linux 2.6.37 patched for KBUS, available via:

git pull git://github.com/crazyscot/linux-2.6-kbus.git kbus-2.6.37

This is a resubmission of the original RFC to the Linux-Embedded list, having:

a) changed to use __u32 instead of uint32_t and
b) changed to use kernel messaging mechanisms (also removing some messaging that should not be needed). These in response to the suggestion of Sam Ravnborg
c) split into multiple in-line patches, as is normal practice, and as requested by Grant Likely

Tibs (5):
Documentation for KBUS
External header file for KBUS
Kconfig files and Makefile for KBUS
Internal header file for KBUS
KBUS itself, the main source file

 Documentation/Kbus.txt     | 1222 +++++++++++
 include/linux/kbus_defns.h |  666 ++++++
 init/Kconfig               |    3 +
 ipc/Kconfig                |   99 +
 ipc/Makefile               |    5 +
 ipc/kbus.c                 | 4927 ++++++++++++++++++++++++++++++++++++++++++++
 ipc/kbus_internal.h        |  709 +++++++
 7 files changed, 7631 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/Kbus.txt
 create mode 100644 include/linux/kbus_defns.h
 create mode 100644 ipc/Kconfig
 create mode 100644 ipc/kbus.c
 create mode 100644 ipc/kbus_internal.h