Main-line Linux kernel tree http://www.kernel.org
Go to file
Luis Chamberlain f71afa6a42 module: extract patient module check into helper
The patient module check inside add_unformed_module() is large
enough as we need it. It is a bit hard to read too, so just
move it to a helper and do the inverse checks first to help
shift the code and make it easier to read. The new helper then
is module_patient_check_exists().

To make this work we need to mvoe the finished_loading() up,
we do that without making any functional changes to that routine.

Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
2023-04-18 11:15:24 -07:00
arch Change DEFINE_SEMAPHORE() to take a number argument 2023-04-18 11:15:24 -07:00
block
certs
crypto KEYS: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:51 -07:00
Documentation Documentation: core-api: update kernel-doc reference to kmod.c 2023-03-24 11:33:09 -07:00
drivers Change DEFINE_SEMAPHORE() to take a number argument 2023-04-18 11:15:24 -07:00
fs unicode: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:54 -07:00
include Change DEFINE_SEMAPHORE() to take a number argument 2023-04-18 11:15:24 -07:00
init
io_uring
ipc
kernel module: extract patient module check into helper 2023-04-18 11:15:24 -07:00
lib treewide: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:54 -07:00
LICENSES
mm zswap: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:54 -07:00
net Change DEFINE_SEMAPHORE() to take a number argument 2023-04-18 11:15:24 -07:00
rust
samples
scripts module: Ignore L0 and rename is_arm_mapping_symbol() 2023-04-13 17:15:50 -07:00
security
sound
tools
usr
virt
.clang-format cpumask: re-introduce constant-sized cpumask optimizations 2023-03-05 14:30:34 -08:00
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS module: fold usermode helper kmod into modules directory 2023-03-24 11:33:08 -07:00
Makefile Linux 6.3-rc1 2023-03-05 14:52:03 -08:00
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 Restructured Text 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.