diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2026-02-18 15:20:10 +0100 |
|---|---|---|
| committer | Vasily Gorbik <gor@linux.ibm.com> | 2026-02-25 16:46:07 +0100 |
| commit | e282ccd308de7b2a65eb4596da8030c18b543071 (patch) | |
| tree | 5f92868b7a6c3cc340eae12bb1642c7f4be8a761 /kernel/debug | |
| parent | d8b5cf9c63143fae54a734c41e3bb55cf3f365c7 (diff) | |
s390/vtime: Use __this_cpu_read() / get rid of READ_ONCE()
do_account_vtime() runs always with interrupts disabled, therefore use
__this_cpu_read() instead of this_cpu_read() to get rid of a pointless
preempt_disable() / preempt_enable() pair.
Also there are no concurrent writers to the cpu time accounting fields
in lowcore. Therefore get rid of READ_ONCE() usages.
Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'kernel/debug')
0 files changed, 0 insertions, 0 deletions
