Skip to content

Unload linux/kernel.h

Yury Norov dri-devel intel-gfx linux-modules linux-trace-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v5 Latest6 patches 7 repliesIn review 5 of 6 applied

Changes in v5 from the cover letter

- drop v4#7, i.e. keep trace_printk.h included in kernel.h

Patches in v5 5 of 6 applied

#Subject and filesSizeRepliesApplied
1/6kernel.h: drop STACK_MAGIC macrodrivers/gpu/drm/i915/gt/selftest_ring_submission.c drivers/gpu/drm/i915/i915_selftest.h include/linux/kernel.h+3 -20 replies
2/6moduleparam: include required headers explicitlyinclude/linux/moduleparam.h+5 -00 repliesApplied
3/6kernel.h: move VERIFY_OCTAL_PERMISSIONS() to sysfs.hDocumentation/filesystems/sysfs.rst include/linux/kernel.h include/linux/moduleparam.h +1 more+15 -141 replyApplied
4/6kernel.h: include linux/instruction_pointer.h explicitlyarch/s390/include/asm/processor.h include/linux/ww_mutex.h+2 -01 replyApplied
5/6tracing: Remove size parameter in __trace_puts()include/linux/kernel.h kernel/trace/trace.c kernel/trace/trace.h+6 -71 replyApplied
6/6tracing: move tracing declarations from kernel.h to a dedicated headerinclude/linux/kernel.h include/linux/trace_printk.h+205 -1950 repliesApplied

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndy ShevchenkoRandy DunlapJani NikulaChristophe Leroy (CS GROUP)Aaron TomlinAndi ShytiPetr PavluSteven RostedtGreg Kroah-HartmanJoel Fernandes
SeriesR-b
1/6R-b A-b A-b R-b R-b R-b
2/6R-b R-b
3/6R-b A-b T-b R-b A-b
4/6R-b
5/6R-b
6/6R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 10 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/6] Unload linux/kernel.h

kernel.h hosts declarations that can be placed better. This series decouples kernel.h with some explicit and implicit dependencies; also, moves tracing functionality to a new independent header.

For testing, see v4.

v1: https://lore.kernel.org/all/[email protected]/
v2: https://lore.kernel.org/all/[email protected]/
v3: https://lore.kernel.org/all/[email protected]/
v4: https://lore.kernel.org/all/[email protected]/
v5:
- drop v4#7, i.e. keep trace_printk.h included in kernel.h

Steven Rostedt (1):
tracing: Remove size parameter in __trace_puts()

Yury Norov (5):
kernel.h: drop STACK_MAGIC macro
moduleparam: include required headers explicitly
kernel.h: move VERIFY_OCTAL_PERMISSIONS() to sysfs.h kernel.h: include linux/instruction_pointer.h explicitly
tracing: move tracing declarations from kernel.h to a dedicated header

 Documentation/filesystems/sysfs.rst           |   2 +-
 arch/s390/include/asm/processor.h             |   1 +
 .../drm/i915/gt/selftest_ring_submission.c    |   1 +
 drivers/gpu/drm/i915/i915_selftest.h          |   2 +
 include/linux/kernel.h                        | 210 +-----------------
 include/linux/moduleparam.h                   |   7 +-
 include/linux/sysfs.h                         |  13 ++
 include/linux/trace_printk.h                  | 204 +++++++++++++++++
 include/linux/ww_mutex.h                      |   1 +
 kernel/trace/trace.c                          |   7 +-
 kernel/trace/trace.h                          |   2 +-
 11 files changed, 234 insertions(+), 216 deletions(-)
 create mode 100644 include/linux/trace_printk.h
Signature · 1 line
2.43.0