public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/8] Fast kernel headers: split linux/kernel.h
@ 2024-02-15  9:36 Max Kellermann
  2024-02-15  9:36 ` [PATCH v1 1/8] include/linux/goldfish.h: include linux/wordpart.h instead of linux/kernel.h Max Kellermann
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Max Kellermann @ 2024-02-15  9:36 UTC (permalink / raw)
  To: linux-kernel; +Cc: Max Kellermann

This patch set aims to clean up the linux/kernel.h header and reduce
dependencies on it by moving parts out.

(These patches were part of my previous "fast kernel headers" pull
request which was found hard to review due to its huge size.  I'm now
trying to resend smaller chunks of it, hoping they are easier to
review.)

Max Kellermann (8):
  include/linux/goldfish.h: include linux/wordpart.h instead of
    linux/kernel.h
  include/drm/drm_fixed.h: include linux/wordpart.h instead of
    linux/kernel.h
  include linux/wordpart.h in various sources that need it
  linux/random.h: reduce dependencies on linux/kernel.h
  linux/kernel.h: move might_sleep(), ... to sched/debug_atomic_sleep.h
  linux/kernel.h: move READ and WRITE to direction.h
  linux/kernel.h: move VERIFY_OCTAL_PERMISSIONS() to octal_permissions.h
  linux/kernel.h: move PTR_IF() to ptr_util.h

 arch/arc/kernel/perf_event.c             |   1 +
 arch/arm64/include/asm/syscall.h         |   1 +
 arch/arm64/kvm/handle_exit.c             |   1 +
 drivers/bus/uniphier-system-bus.c        |   1 +
 drivers/edac/thunderx_edac.c             |   1 +
 drivers/gpio/gpio-sim.c                  |   1 +
 drivers/gpu/drm/i915/i915_driver.c       |   1 +
 drivers/hwmon/occ/common.c               |   1 +
 drivers/input/misc/iqs7222.c             |   1 +
 drivers/irqchip/irq-gic-v3-its.c         |   1 +
 drivers/media/platform/amphion/vpu_dbg.c |   1 +
 drivers/memstick/core/memstick.c         |   1 +
 drivers/memstick/host/jmb38x_ms.c        |   1 +
 drivers/memstick/host/r592.c             |   1 +
 drivers/memstick/host/rtsx_pci_ms.c      |   1 +
 drivers/memstick/host/rtsx_usb_ms.c      |   1 +
 drivers/memstick/host/tifm_ms.c          |   1 +
 drivers/pinctrl/pinctrl-ingenic.c        |   1 +
 drivers/soc/aspeed/aspeed-uart-routing.c |   1 +
 drivers/spi/spi-pci1xxxx.c               |   1 +
 fs/ext4/super.c                          |   1 +
 fs/hfs/hfs_fs.h                          |   1 +
 fs/hfsplus/hfsplus_fs.h                  |   1 +
 fs/notify/fanotify/fanotify_user.c       |   1 +
 fs/open.c                                |   1 +
 fs/overlayfs/copy_up.c                   |   1 +
 fs/ufs/util.h                            |   1 +
 fs/xfs/xfs_error.c                       |   1 +
 include/drm/drm_fixed.h                  |   2 +-
 include/linux/clk.h                      |   1 +
 include/linux/direction.h                |   9 ++
 include/linux/dma-fence.h                |   1 +
 include/linux/goldfish.h                 |   2 +-
 include/linux/gpio/consumer.h            |   2 +-
 include/linux/kernel.h                   | 125 -----------------------
 include/linux/mmu_notifier.h             |   1 +
 include/linux/moduleparam.h              |   2 +-
 include/linux/nd.h                       |   1 +
 include/linux/octal_permissions.h        |  20 ++++
 include/linux/pm.h                       |   1 +
 include/linux/ptr_util.h                 |   7 ++
 include/linux/pwm.h                      |   2 +
 include/linux/qed/common_hsi.h           |   1 +
 include/linux/random.h                   |   4 +-
 include/linux/rcutiny.h                  |   1 +
 include/linux/sched.h                    |   1 +
 include/linux/sched/debug_atomic_sleep.h | 114 +++++++++++++++++++++
 include/linux/sched/mm.h                 |   2 +-
 include/linux/sysfs.h                    |   1 +
 include/linux/uaccess.h                  |   1 +
 include/linux/uio.h                      |   2 +-
 include/linux/wait.h                     |   1 +
 include/linux/wait_bit.h                 |   1 +
 include/rdma/uverbs_ioctl.h              |   3 +-
 include/soc/fsl/bman.h                   |   2 +
 include/soc/fsl/qman.h                   |   1 +
 security/landlock/object.c               |   1 +
 security/landlock/ruleset.c              |   1 +
 58 files changed, 207 insertions(+), 134 deletions(-)
 create mode 100644 include/linux/direction.h
 create mode 100644 include/linux/octal_permissions.h
 create mode 100644 include/linux/ptr_util.h
 create mode 100644 include/linux/sched/debug_atomic_sleep.h

-- 
2.39.2


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

end of thread, other threads:[~2024-02-15  9:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-15  9:36 [PATCH v1 0/8] Fast kernel headers: split linux/kernel.h Max Kellermann
2024-02-15  9:36 ` [PATCH v1 1/8] include/linux/goldfish.h: include linux/wordpart.h instead of linux/kernel.h Max Kellermann
2024-02-15  9:36 ` [PATCH v1 2/8] include/drm/drm_fixed.h: " Max Kellermann
2024-02-15  9:36 ` [PATCH v1 3/8] include linux/wordpart.h in various sources that need it Max Kellermann
2024-02-15  9:36 ` [PATCH v1 4/8] linux/random.h: reduce dependencies on linux/kernel.h Max Kellermann
2024-02-15  9:36 ` [PATCH v1 5/8] linux/kernel.h: move might_sleep(), ... to sched/debug_atomic_sleep.h Max Kellermann
2024-02-15  9:36 ` [PATCH v1 6/8] linux/kernel.h: move READ and WRITE to direction.h Max Kellermann
2024-02-15  9:36 ` [PATCH v1 7/8] linux/kernel.h: move VERIFY_OCTAL_PERMISSIONS() to octal_permissions.h Max Kellermann
2024-02-15  9:36 ` [PATCH v1 8/8] linux/kernel.h: move PTR_IF() to ptr_util.h Max Kellermann

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