From: Max Kellermann <max.kellermann@ionos.com>
To: linux-kernel@vger.kernel.org
Cc: Max Kellermann <max.kellermann@ionos.com>
Subject: [PATCH v1 0/8] Fast kernel headers: split linux/kernel.h
Date: Thu, 15 Feb 2024 10:36:38 +0100 [thread overview]
Message-ID: <20240215093646.3265823-1-max.kellermann@ionos.com> (raw)
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
next reply other threads:[~2024-02-15 9:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-15 9:36 Max Kellermann [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240215093646.3265823-1-max.kellermann@ionos.com \
--to=max.kellermann@ionos.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox