summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2025-03-21 15:22:15 +0300
committerVasily Gorbik <gor@linux.ibm.com>2025-03-31 13:20:39 +0300
commit3232f1c8086506c5728f46e5a0d59b860c303b8d (patch)
tree4b6c4676d61af07a6ec7f19aabe92b3949d6b7a5 /tools/perf/scripts/python/libxed.py
parentb9be1bee2f271ed3c68e0bd3ec099951b656447b (diff)
downloadlinux-3232f1c8086506c5728f46e5a0d59b860c303b8d.tar.xz
s390/processor: Use bitop functions for cpu flag helper functions
Use bitop functions to implement cpu flag helper functions. This way it is guaranteed that bits cannot get lost if modified in different contexts on a cpu. E.g. if process context is interrupted in the middle of a read-modify-write sequence while modifying cpu flags, and within interrupt context cpu flags are also modified, bits can get lost. There is currently no code which is doing this, however upcoming code could potentially run into this problem. Acked-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions