aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-04-23 12:34:25 +0200
committerJonathan Corbet <[email protected]>2024-04-24 13:04:27 -0600
commit8af2d1ab78f2342f8c4c3740ca02d86f0ebfac5a (patch)
treec543ef3a8ab4c2f5598f977771b0c3170ad0d1d7 /tools/perf/scripts/python/export-to-postgresql.py
parent8819b60eed720819ea392d2b6d955e332caf703d (diff)
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: 0159bb020ca9 ("Documentation: Add usecases, design and interface for core scheduling") Cc: [email protected] Link: https://lore.kernel.org/util-linux/[email protected]/ Signed-off-by: Thomas Weißschuh <[email protected]> Reviewed-by: Chris Hyser <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions