The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2)
Перейти к файлу
Paul E. McKenney e74f4059d1 locking/atomic: docs: Add atomic operations to the driver basic API documentation
Add the generated atomic headers to driver-api/basics.rst in order to
provide documentation for the Linux kernel's atomic operations.

At the same time, dtop the x86 atomic header, which provides kerneldoc
comments for some arch_atomic*_*() operations. The arch_atomic*_*()
operations are now purely an implenentation detail of the
raw_atomic*_*() ops, and outside of implementing the atomics, code
should use the raw_atomic*_*() forms.

[Mark: add atomic-{instrumented,long}.h, update commit message]
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20230605070124.3741859-27-mark.rutland@arm.com
2023-06-05 09:57:24 +02:00
Documentation locking/atomic: docs: Add atomic operations to the driver basic API documentation 2023-06-05 09:57:24 +02:00
LICENSES
arch locking/atomic: treewide: use raw_atomic*_<op>() 2023-06-05 09:57:20 +02:00
block
certs
crypto
drivers x86,intel_iommu: Replace cmpxchg_double() 2023-06-05 09:36:38 +02:00
fs
include locking/atomic: scripts: generate kerneldoc comments 2023-06-05 09:57:23 +02:00
init
io_uring
ipc
kernel locking/atomic: treewide: use raw_atomic*_<op>() 2023-06-05 09:57:20 +02:00
lib types: Introduce [us]128 2023-06-05 09:36:35 +02:00
mm slub: Replace cmpxchg_double() 2023-06-05 09:36:39 +02:00
net
rust
samples
scripts locking/atomic: scripts: generate kerneldoc comments 2023-06-05 09:57:23 +02:00
security
sound
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README

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.