diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-07-27 19:19:55 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-07-27 19:19:55 +0200 |
commit | 5256184b6119bd1da541d8deb487c2f9131a6c9f (patch) | |
tree | 79f7aa19288966723ca17c2e7a2ea186046c1f2c /Documentation | |
parent | Merge tag 'riscv-for-linus-6.11-mw2' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
parent | timers/migration: Fix grammar in comment (diff) | |
download | linux-5256184b6119bd1da541d8deb487c2f9131a6c9f.tar.xz linux-5256184b6119bd1da541d8deb487c2f9131a6c9f.zip |
Merge tag 'timers-urgent-2024-07-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer migration updates from Thomas Gleixner:
"Fixes and minor updates for the timer migration code:
- Stop testing the group->parent pointer as it is not guaranteed to
be stable over a chain of operations by design.
This includes a warning which would be nice to have but it produces
false positives due to the racy nature of the check.
- Plug a race between CPUs going in and out of idle and a CPU hotplug
operation. The latter can create and connect a new hierarchy level
which is missed in the concurrent updates of CPUs which go into
idle. As a result the events of such a CPU might not be processed
and timers go stale.
Cure it by splitting the hotplug operation into a prepare and
online callback. The prepare callback is guaranteed to run on an
online and therefore active CPU. This CPU updates the hierarchy and
being online ensures that there is always at least one migrator
active which handles the modified hierarchy correctly when going
idle. The online callback which runs on the incoming CPU then just
marks the CPU active and brings it into operation.
- Improve tracing and polish the code further so it is more obvious
what's going on"
* tag 'timers-urgent-2024-07-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
timers/migration: Fix grammar in comment
timers/migration: Spare write when nothing changed
timers/migration: Rename childmask by groupmask to make naming more obvious
timers/migration: Read childmask and parent pointer in a single place
timers/migration: Use a single struct for hierarchy walk data
timers/migration: Improve tracing
timers/migration: Move hierarchy setup into cpuhotplug prepare callback
timers/migration: Do not rely always on group->parent
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions