No description
Find a file
Ahmed S. Darwish 5cdd25572a seqlock: Use unique prefix for seqcount_t property accessors
At seqlock.h, the following set of functions:

    - __seqcount_ptr()
    - __seqcount_preemptible()
    - __seqcount_assert()

act as plain seqcount_t "property" accessors. Meanwhile, the following
group:

    - __seqcount_ptr()
    - __seqcount_lock_preemptible()
    - __seqcount_assert_lock_held()

act as the equivalent set, but in the generic form, taking either
seqcount_t or any of the seqcount_LOCKNAME_t variants.

This is quite confusing, especially the first member where it is called
exactly the same in both groups.

Differentiate the first group by using "__seqprop" as prefix, and also
use that same prefix for all of seqcount_LOCKNAME_t property accessors.

While at it, constify the property accessors first parameter when
appropriate.

References: 55f3560df9 ("seqlock: Extend seqcount API with associated locks")
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/20200904153231.11994-3-a.darwish@linutronix.de
2020-09-10 11:19:30 +02:00
arch x86/tsc: Use seqcount_latch_t 2020-09-10 11:19:29 +02:00
block
certs
crypto
Documentation seqlock: Introduce seqcount_latch_t 2020-09-10 11:19:28 +02:00
drivers cpuidle: Make CPUIDLE_FLAG_TLB_FLUSHED generic 2020-08-26 12:41:53 +02:00
fs Merge branch 'work.epoll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-08-22 17:11:38 -07:00
include seqlock: Use unique prefix for seqcount_t property accessors 2020-09-10 11:19:30 +02:00
init
ipc
kernel timekeeping: Use seqcount_latch_t 2020-09-10 11:19:29 +02:00
lib lockdep/selftest: Introduce recursion3 2020-08-26 12:42:08 +02:00
LICENSES
mm mm/swap: Do not abuse the seqcount_t latching API 2020-09-10 11:19:28 +02:00
net net: nexthop: don't allow empty NHA_GROUP 2020-08-22 12:39:55 -07:00
samples
scripts seqlock,tags: Add support for SEQCOUNT_LOCKTYPE() 2020-08-26 12:42:01 +02:00
security
sound
tools Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-08-23 10:52:33 -07:00
usr
virt * PAE and PKU bugfixes for x86 2020-08-22 10:03:05 -07:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap Merge branch 'akpm' (patches from Andrew) 2020-08-21 14:44:48 -07:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 5.9-rc2 2020-08-23 14:08:43 -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.