Skip to content

Relay buffer-only channels and its prereqs (resubmit 2)

Eduard - Gabriel Munteanu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Better interface for hooking early initcalls.include/asm-generic/vmlinux.lds.h include/linux/init.h init/main.c+20 -20 replies
2/3Full conversion to early_initcall() interface, remove old interface.include/linux/sched.h init/main.c kernel/sched.c +2 more+33 -351 reply
2/3Full conversion to early_initcall() interface, remove old interface.include/linux/sched.h include/linux/smp.h init/main.c +4 more+38 -485 replies
3/3relay: Add buffer-only channels; useful for early logging.Documentation/filesystems/relay.txt include/linux/relay.h kernel/relay.c+157 -294 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/3] Relay buffer-only channels and its prereqs (resubmit 2)

Hello everybody,

The changes since last submission are:
- Removed the git unignore stuff as it has been already merged.
- Fully converted all users to the new early_initcall() interface.
- Fixed patch 3 so that it works without locking the per-CPU buffer.
- Modified patch 3 as Pekka Enberg suggested.

Vegard Nossum expressed his interest in the first patch. However, he suggested naming these initcalls 'pre-SMP' rather than 'early' ('early' as in CPU hotplug docs and as they are now), suggesting the name should reflect usage. Please pitch in and comment about this.

Also, please review and comment/(n)ack/ask on/about these patches.

Eduard - Gabriel Munteanu (3):
Better interface for hooking early initcalls.
Full conversion to early_initcall() interface, remove old interface.
relay: Add buffer-only channels; useful for early logging.

 Documentation/filesystems/relay.txt |   11 +++
 include/asm-generic/vmlinux.lds.h   |    2 +
 include/linux/init.h                |    7 ++
 include/linux/relay.h               |    5 +
 include/linux/sched.h               |    9 --
 init/main.c                         |   21 +----
 kernel/relay.c                      |  170 +++++++++++++++++++++++++++++------
 kernel/sched.c                      |    6 +-
 kernel/softirq.c                    |    4 +-
 kernel/softlockup.c                 |   27 +++++-
 10 files changed, 203 insertions(+), 59 deletions(-)