Go to file
Scott Wood 5be92193b8 sched: migrate_enable: Use stop_one_cpu_nowait()
migrate_enable() can be called with current->state != TASK_RUNNING.
Avoid clobbering the existing state by using stop_one_cpu_nowait().
Since we're stopping the current cpu, we know that we won't get
past __schedule() until migration_cpu_stop() has run (at least up to
the point of migrating us to another cpu).

Signed-off-by: Scott Wood <swood@redhat.com>
[bigeasy: spin until the request has been processed]
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
2023-03-25 04:21:27 +03:00
Documentation Use CONFIG_PREEMPTION 2023-03-25 04:21:18 +03:00
LICENSES
arch softirq: Disable softirq stacks for RT 2023-03-25 04:21:24 +03:00
block softirq: Check preemption after reenabling interrupts 2023-03-25 04:21:24 +03:00
certs certs: Trigger creation of RSA module signing key if it's not an RSA key 2021-09-15 09:47:29 +02:00
crypto crypto: authenc - Fix sleep in atomic context in decrypt_tail 2022-04-15 14:18:04 +02:00
drivers completion: Use simple wait queues 2023-03-25 04:21:23 +03:00
fs fs/dcache: use swait_queue instead of waitqueue 2023-03-25 04:21:20 +03:00
include sched: migrate_enable: Use stop_one_cpu_nowait() 2023-03-25 04:21:27 +03:00
init kernel/sched/core: add migrate_disable() 2023-03-25 04:21:26 +03:00
ipc shm: extend forced shm destroy to support objects from several IPC nses 2021-12-01 09:23:35 +01:00
kernel sched: migrate_enable: Use stop_one_cpu_nowait() 2023-03-25 04:21:27 +03:00
lib kernel/sched/core: add migrate_disable() 2023-03-25 04:21:26 +03:00
mm mm/zswap: Do not disable preemption in zswap_frontswap_store() 2023-03-25 04:21:23 +03:00
net net/core: use local_bh_disable() in netif_rx_ni() 2023-03-25 04:21:24 +03:00
samples samples/kretprobes: Fix return value if register_kretprobe() failed 2021-11-17 09:48:39 +01:00
scripts gcc-plugins: latent_entropy: use /dev/urandom 2022-04-20 09:19:38 +02:00
security Fix incorrect type in assignment of ipv6 port for audit 2022-04-15 14:18:22 +02:00
sound ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and mmap_lock 2022-05-12 12:23:49 +02:00
tools selftests: mirror_gre_bridge_1q: Avoid changing PVID while interface is operational 2022-05-12 12:23:46 +02:00
usr
virt KVM: arm/arm64: Let the timer expire in hardirq context on RT 2023-03-25 04:21:14 +03:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 5.4.193 2022-05-12 12:23:51 +02:00
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.