diff options
| author | Frederic Weisbecker <frederic@kernel.org> | 2025-12-23 15:12:46 +0100 |
|---|---|---|
| committer | Frederic Weisbecker <frederic@kernel.org> | 2026-02-03 15:23:33 +0100 |
| commit | b5de34ed87f39fc3f6eb7e7df543317e7efb94a8 (patch) | |
| tree | aacef51ae4bdac037179e28a48ac46569fa0fe53 /include | |
| parent | 53c2f9d1b1151a853542b224d78169f68f919ef1 (diff) | |
timers/migration: Prevent from lockdep false positive warning
Testing housekeeping_cpu() will soon require that either the RCU "lock"
is held or the cpuset mutex.
When CPUs get isolated through cpuset, the change is propagated to
timer migration such that isolation is also performed from the migration
tree. However that propagation is done using workqueue which tests if
the target is actually isolated before proceeding.
Lockdep doesn't know that the workqueue caller holds cpuset mutex and
that it waits for the work, making the housekeeping cpumask read safe.
Shut down the future warning by removing this test. It is unecessary
beyond hotplug, the workqueue is already targeted towards isolated CPUs.
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Cc: Gabriele Monaco <gmonaco@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
