linux-stable/include
Thomas Gleixner 19d0070a27 timekeeping/vsyscall: Provide vdso_update_begin/end()
Architectures can have the requirement to add additional architecture
specific data to the VDSO data page which needs to be updated independent
of the timekeeper updates.

To protect these updates vs. concurrent readers and a conflicting update
through timekeeping, provide helper functions to make such updates safe.

vdso_update_begin() takes the timekeeper_lock to protect against a
potential update from timekeeper code and increments the VDSO sequence
count to signal data inconsistency to concurrent readers. vdso_update_end()
makes the sequence count even again to signal data consistency and drops
the timekeeper lock.

[ Sven: Add interrupt disable handling to the functions ]

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200804150124.41692-3-svens@linux.ibm.com
2020-08-06 10:57:30 +02:00
..
acpi ACPI updates for 5.9-rc1 2020-08-03 20:37:22 -07:00
asm-generic seccomp updates for v5.9-rc1 2020-08-04 14:11:08 -07:00
clocksource
crypto It's been a busy cycle for documentation - hopefully the busiest for a 2020-08-04 22:47:54 -07:00
drm * drm: fix possible use-after-free 2020-07-29 12:46:58 +10:00
dt-bindings Time, timers and related driver updates: 2020-08-04 18:17:37 -07:00
keys It's been a busy cycle for documentation - hopefully the busiest for a 2020-08-04 22:47:54 -07:00
kunit
kvm
linux It's been a busy cycle for documentation - hopefully the busiest for a 2020-08-04 22:47:54 -07:00
math-emu
media
memory memory: add Renesas RPC-IF driver 2020-07-01 22:45:14 +01:00
misc
net seccomp updates for v5.9-rc1 2020-08-04 14:11:08 -07:00
pcmcia
ras
rdma IB/rdmavt: Fix RQ counting issues causing use of an invalid RWQE 2020-07-29 15:54:36 -03:00
scsi
soc Time, timers and related driver updates: 2020-08-04 18:17:37 -07:00
sound ASoC: Fixes for v5.8 2020-07-17 18:19:02 +02:00
target
trace ARM: SoC driver updates for v5.9 2020-08-03 19:30:59 -07:00
uapi close-range-v5.9 2020-08-04 15:12:02 -07:00
vdso timekeeping/vsyscall: Provide vdso_update_begin/end() 2020-08-06 10:57:30 +02:00
video
xen