Linux kernel source tree
Go to file
Mike Rapoport (IBM) 7582b7be16 kprobes: remove dependency on CONFIG_MODULES
kprobes depended on CONFIG_MODULES because it has to allocate memory for
code.

Since code allocations are now implemented with execmem, kprobes can be
enabled in non-modular kernels.

Add #ifdef CONFIG_MODULE guards for the code dealing with kprobes inside
modules, make CONFIG_KPROBES select CONFIG_EXECMEM and drop the
dependency of CONFIG_KPROBES on CONFIG_MODULES.

Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
[mcgrof: rebase in light of NEED_TASKS_RCU ]
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
2024-05-14 00:35:06 -07:00
arch kprobes: remove dependency on CONFIG_MODULES 2024-05-14 00:35:06 -07:00
block for-6.10/block-20240511 2024-05-13 13:03:54 -07:00
certs
crypto This update includes the following changes: 2024-05-13 14:53:05 -07:00
Documentation Update the -tip maintainers merge policy document wrt. merge window timing. 2024-05-13 17:33:48 -07:00
drivers Scheduler changes for v6.10: 2024-05-13 17:18:51 -07:00
fs hardening updates for 6.10-rc1 2024-05-13 14:14:05 -07:00
include kprobes: remove dependency on CONFIG_MODULES 2024-05-14 00:35:06 -07:00
init Scheduler changes for v6.10: 2024-05-13 17:18:51 -07:00
io_uring for-6.10/io_uring-20240511 2024-05-13 12:48:06 -07:00
ipc
kernel kprobes: remove dependency on CONFIG_MODULES 2024-05-14 00:35:06 -07:00
lib Scheduler changes for v6.10: 2024-05-13 17:18:51 -07:00
LICENSES
mm mm/execmem, arch: convert remaining overrides of module_alloc to execmem 2024-05-14 00:31:43 -07:00
net for-6.10/io_uring-20240511 2024-05-13 12:48:06 -07:00
rust Rust changes for v6.10 2024-05-13 15:13:54 -07:00
samples
scripts module: allow UNUSED_KSYMS_WHITELIST to be relative against objtree. 2024-05-14 00:31:43 -07:00
security Hi 2024-05-13 10:48:35 -07:00
sound
tools x86/cpu changes for v6.10: 2024-05-13 18:44:44 -07:00
usr
virt
.clang-format
.cocciconfig
.editorconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap Another not-too-busy cycle for documentation, including: 2024-05-13 10:51:53 -07:00
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS This update includes the following changes: 2024-05-13 14:53:05 -07:00
Makefile
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the reStructuredText markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.