linux-stable/Documentation
Thomas Weißschuh 8af2d1ab78 admin-guide/hw-vuln/core-scheduling: fix return type of PR_SCHED_CORE_GET
sched_core_share_pid() copies the cookie to userspace with
put_user(id, (u64 __user *)uaddr), expecting 64 bits of space.
The "unsigned long" datatype that is documented in core-scheduling.rst
however is only 32 bits large on 32 bit architectures.

Document "unsigned long long" as the correct data type that is always
64bits large.

This matches what the selftest cs_prctl_test.c has been doing all along.

Fixes: 0159bb020c ("Documentation: Add usecases, design and interface for core scheduling")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/util-linux/df7a25a0-7923-4f8b-a527-5e6f0064074d@t-8ch.de/
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Chris Hyser <chris.hyser@oracle.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20240423-core-scheduling-cookie-v1-1-5753a35f8dfc@weissschuh.net
2024-04-24 13:04:27 -06:00
..
ABI Char/Misc and other driver subsystem updates for 6.9-rc1 2024-03-21 13:21:31 -07:00
accel
accounting
admin-guide admin-guide/hw-vuln/core-scheduling: fix return type of PR_SCHED_CORE_GET 2024-04-24 13:04:27 -06:00
arch A set of x86 fixes: 2024-03-24 11:13:56 -07:00
block
bpf
cdrom
core-api docs: dma: correct dma_set_mask() sample code 2024-04-02 10:07:15 -06:00
cpu-freq
crypto
dev-tools Documentation: dev-tools: Add link to RV docs 2024-03-29 08:27:21 -06:00
devicetree A set of updates for clocksource and clockevent drivers: 2024-03-23 14:42:45 -07:00
doc-guide doc: fix spelling about ReStructured Text 2024-04-02 10:07:51 -06:00
driver-api TTY/Serial driver update for 6.9-rc1 2024-03-21 12:44:10 -07:00
fault-injection
fb
features
filesystems f2fs update for 6.9-rc1 2024-03-18 11:26:00 -07:00
firmware-guide More ACPI updates for 6.9-rc1 2024-03-19 11:15:14 -07:00
firmware_class
fpga
gpu
hid
hwmon
i2c
iio
images
infiniband
input
isdn
kbuild
kernel-hacking
leds
litmus-tests
livepatch
locking
maintainer
mhi
misc-devices
mm This pull request contains updates for UBI and UBIFS: 2024-03-21 15:09:29 -07:00
netlabel
netlink
networking ionic: update documentation for XDP support 2024-03-20 21:05:15 -07:00
nvdimm
nvme
PCI
pcmcia
peci
power Documentation: power: Fix typo in suspend and interrupts doc 2024-03-13 20:51:11 +01:00
process docs: *-regressions.rst: unify quoting, add missing word 2024-04-10 15:01:32 -06:00
RCU A moderatly busy cycle for development this time around. 2024-03-12 15:18:34 -07:00
rust arm64 updates for 6.9: 2024-03-14 15:35:42 -07:00
scheduler A single update for the documentation of the base_slice_ns tunable to 2024-03-24 11:11:05 -07:00
scsi
security
sound
sphinx docs: Detect variable fonts and suggest denylisting them 2024-04-10 14:10:13 -06:00
sphinx-static
spi spi: docs: spidev: fix echo command format 2024-03-19 18:37:55 +00:00
staging
target
tee
timers
tools tools/rtla: Add -U/--user-load option to timerlat 2024-03-20 05:39:06 +01:00
trace trace doc: Minor grammatical correction 2024-04-02 10:07:51 -06:00
translations docs/zh_CN: Add dev-tools/kmemleak Chinese translation 2024-04-10 15:13:59 -06:00
usb
userspace-api media updates for v6.9-rc1 2024-03-15 11:36:54 -07:00
virt S390: 2024-03-15 13:03:13 -07:00
w1
watchdog
wmi
.gitignore
atomic_bitops.txt
atomic_t.txt
Changes
CodingStyle
conf.py
docutils.conf
dontdiff
index.rst doc: fix spelling about ReStructured Text 2024-04-02 10:07:51 -06:00
Kconfig
Makefile docs: Detect variable fonts and suggest denylisting them 2024-04-10 14:10:13 -06:00
memory-barriers.txt
SubmittingPatches
subsystem-apis.rst