Go to file
Ahmed S. Darwish 5c73b9a2b1 kvm/eventfd: Use sequence counter with associated 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_spinlock_t data type, which allows to associate a
spinlock with the sequence counter. This enables lockdep to verify that
the 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>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Link: https://lkml.kernel.org/r/20200720155530.1173732-24-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 keys: asymmetric: fix error return code in software_key_query() 2020-07-15 15:49:04 -07:00
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 kvm/eventfd: Use sequence counter with associated 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 mmap locking API: use coccinelle to convert mmap_sem rwsem call sites 2020-06-09 09:39:14 -07:00
kernel timekeeping: Use sequence counter with associated raw spinlock 2020-07-29 16:14:27 +02:00
lib lockdep: Add preemption enabled/disabled assertion APIs 2020-07-29 16:14:24 +02:00
LICENSES
mm mm: document warning in move_normal_pmd() and make it warn only once 2020-07-13 11:37:39 -07:00
net xfrm: policy: Use sequence counters with associated lock 2020-07-29 16:14:27 +02:00
samples samples/vfs: avoid warning in statx override 2020-07-03 16:15:25 -07:00
scripts kbuild: Move -Wtype-limits to W=2 2020-07-09 18:00:56 -07:00
security integrity/ima: switch to using __kernel_read 2020-07-08 08:27:57 +02:00
sound sound fixes for 5.8-rc6 2020-07-17 08:48:19 -07:00
tools Linux 5.8-rc6 2020-07-25 21:49:36 +02:00
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 .gitignore: Do not track defconfig from make savedefconfig 2020-07-05 16:15:46 +09:00
.mailmap MAINTAINERS: update email address for Gerald Schaefer 2020-07-10 15:06:49 +02:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS regulator: Fixes for v5.8 2020-07-17 10:20:26 -07:00
Makefile Linux 5.8-rc6 2020-07-19 15:41:18 -07: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.