commit | 6a9e7911f2cf487c46e6f5a903b1e63e913a3155 | [log] [tgz] |
---|---|---|
author | Frederic Weisbecker <frederic@kernel.org> | Fri Nov 24 23:32:26 2023 +0100 |
committer | Frederic Weisbecker <frederic@kernel.org> | Thu Feb 08 18:12:17 2024 +0100 |
tree | 8004e867a96d5bafe681678605cb96c1385499c8 | |
parent | a368a54e2c9aa8807d1a5390711166553d984980 [diff] |
cpuidle: Handle TIF_NR_POLLING on behalf of software polling idle states Software polling idle states set again TIF_NR_POLLING and clear it upon exit. This involves error prone duplicated code and wasted cycles performing atomic operations, sometimes RmW fully ordered. To avoid this, benefit instead from the same generic TIF_NR_POLLING handling that is currently in use for hardware monitoring states. Signed-off-by: Frederic Weisbecker <frederic@kernel.org>