No description
Find a file
Ahmed S. Darwish af5a06b582 hrtimer: Use sequence counter with associated raw spinlock
A sequence counter write side critical section must be protected by some
form of locking to serialize writers. A plain seqcount_t does not
contain the information of which lock must be held when entering a write
side critical section.

Use the new seqcount_raw_spinlock_t data type, which allows to associate
a raw spinlock with the sequence counter. This enables lockdep to verify
that the raw spinlock used for writer serialization is held when the
write side critical section is entered.

If lockdep is disabled this lock association is compiled out and has
neither storage size nor runtime overhead.

Signed-off-by: Ahmed S. Darwish <a.darwish@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200720155530.1173732-25-a.darwish@linutronix.de
2020-07-29 16:14:29 +02:00
arch Merge branch 'locking/header' 2020-07-29 16:14:21 +02:00
block iocost: Use sequence counter with associated spinlock 2020-07-29 16:14:28 +02:00
certs
crypto
Documentation seqlock: Extend seqcount API with associated locks 2020-07-29 16:14:25 +02:00
drivers raid5: Use sequence counter with associated spinlock 2020-07-29 16:14:27 +02:00
fs userfaultfd: Use sequence counter with associated spinlock 2020-07-29 16:14:28 +02:00
include hrtimer: Use sequence counter with associated raw spinlock 2020-07-29 16:14:29 +02:00
init sched: tasks: Use sequence counter with associated spinlock 2020-07-29 16:14:26 +02:00
ipc
kernel hrtimer: Use sequence counter with associated raw spinlock 2020-07-29 16:14:29 +02:00
lib lockdep: Add preemption enabled/disabled assertion APIs 2020-07-29 16:14:24 +02:00
LICENSES
mm
net xfrm: policy: Use sequence counters with associated lock 2020-07-29 16:14:27 +02:00
samples
scripts
security
sound
tools
usr
virt kvm/eventfd: Use sequence counter with associated spinlock 2020-07-29 16:14:29 +02:00
.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.