public inbox for linux-modules@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/6] Unload linux/kernel.h
@ 2026-01-16  4:25 Yury Norov
  2026-01-16  4:25 ` [PATCH v5 1/6] kernel.h: drop STACK_MAGIC macro Yury Norov
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: Yury Norov @ 2026-01-16  4:25 UTC (permalink / raw)
  To: Steven Rostedt, Andrew Morton, Masami Hiramatsu,
	Mathieu Desnoyers, Andy Shevchenko, Christophe Leroy,
	Randy Dunlap, Ingo Molnar, Jani Nikula, Joonas Lahtinen,
	David Laight, Petr Pavlu, Andi Shyti, Rodrigo Vivi,
	Tvrtko Ursulin, Daniel Gomez, Greg Kroah-Hartman,
	Rafael J. Wysocki, Danilo Krummrich, Joel Fernandes, linux-kernel,
	intel-gfx, dri-devel, linux-modules, linux-trace-kernel
  Cc: Yury Norov, Yury Norov (NVIDIA)

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/20251129195304.204082-1-yury.norov@gmail.com/
v2: https://lore.kernel.org/all/20251203162329.280182-1-yury.norov@gmail.com/
v3: https://lore.kernel.org/all/20251205175237.242022-1-yury.norov@gmail.com/
v4: https://lore.kernel.org/all/20251225170930.1151781-1-yury.norov@gmail.com/
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

-- 
2.43.0


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-01-21 14:53 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-16  4:25 [PATCH v5 0/6] Unload linux/kernel.h Yury Norov
2026-01-16  4:25 ` [PATCH v5 1/6] kernel.h: drop STACK_MAGIC macro Yury Norov
2026-01-16  4:25 ` [PATCH v5 2/6] moduleparam: include required headers explicitly Yury Norov
2026-01-16  4:25 ` [PATCH v5 3/6] kernel.h: move VERIFY_OCTAL_PERMISSIONS() to sysfs.h Yury Norov
2026-01-16 14:45   ` Greg Kroah-Hartman
2026-01-16  4:25 ` [PATCH v5 4/6] kernel.h: include linux/instruction_pointer.h explicitly Yury Norov
2026-01-16 10:43   ` Andy Shevchenko
2026-01-16  4:25 ` [PATCH v5 5/6] tracing: Remove size parameter in __trace_puts() Yury Norov
2026-01-16 10:41   ` Andy Shevchenko
2026-01-16  4:25 ` [PATCH v5 6/6] tracing: move tracing declarations from kernel.h to a dedicated header Yury Norov
2026-01-16 10:39 ` [PATCH v5 0/6] Unload linux/kernel.h Andy Shevchenko
2026-01-16 17:06   ` Yury Norov
2026-01-21 14:53     ` Steven Rostedt
2026-01-16 17:32 ` Joel Fernandes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox