No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Frederic Weisbecker 9b2ed14431 nohz: Add TICK_DEP_BIT_RCU
[ Upstream commit 01b4c39901e087ceebae2733857248de81476bd8 ]

If a nohz_full CPU is looping in the kernel, the scheduling-clock tick
might nevertheless remain disabled.  In !PREEMPT kernels, this can
prevent RCU's attempts to enlist the aid of that CPU's executions of
cond_resched(), which can in turn result in an arbitrarily delayed grace
period and thus an OOM.  RCU therefore needs a way to enable a holdout
nohz_full CPU's scheduler-clock interrupt.

This commit therefore provides a new TICK_DEP_BIT_RCU value which RCU can
pass to tick_dep_set_cpu() and friends to force on the scheduler-clock
interrupt for a specified CPU or task.  In some cases, rcutorture needs
to turn on the scheduler-clock tick, so this commit also exports the
relevant symbols to GPL-licensed modules.

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Stable-dep-of: 58d766824264 ("tick/nohz: Fix cpu_is_hotpluggable() by checking with nohz subsystem")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-17 11:35:57 +02:00
arch
block
certs
crypto
Documentation
drivers dm ioctl: fix nested locking in table_clear() to remove deadlock concern 2023-05-17 11:35:56 +02:00
fs btrfs: scrub: reject unsupported scrub flags 2023-05-17 11:35:55 +02:00
include nohz: Add TICK_DEP_BIT_RCU 2023-05-17 11:35:57 +02:00
init
ipc
kernel nohz: Add TICK_DEP_BIT_RCU 2023-05-17 11:35:57 +02:00
lib debugobject: Ensure pool refill (again) 2023-05-17 11:35:56 +02:00
LICENSES
mm
net netfilter: nf_tables: deactivate anonymous set from preparation phase 2023-05-17 11:35:57 +02:00
samples
scripts scripts/gdb: fix lx-timerlist for Python3 2023-05-17 11:35:55 +02:00
security
sound
tools perf intel-pt: Fix CYC timestamps after standalone CBR 2023-05-17 11:35:56 +02:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
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 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.