Commit d4f198c
timers/migration: Deactivate per-capacity hierarchies under nohz_full
NOHZ_FULL CPUs global timers are guaranteed to be handled by the timekeeper
CPU, which never stops its tick and therefore remains active in the
hierarchy.
But since the introduction of per-capacity hierarchies, this guarantee is
broken because the timekeeper may not belong to the same hierarchy as all
the NOHZ_FULL CPUs.
Fix it with simply turning off capacity awareness when NOHZ_FULL is
running and force a single hierarchy. NOHZ_FULL is not exactly optimized
powerwise anyway.
Fixes: 098cbaa ("timers/migration: Split per-capacity hierarchies")
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260519220926.63437-3-frederic@kernel.org1 parent e4a70f5 commit d4f198c
1 file changed
Lines changed: 23 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1464 | 1464 | | |
1465 | 1465 | | |
1466 | 1466 | | |
1467 | | - | |
| 1467 | + | |
1468 | 1468 | | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
1469 | 1485 | | |
1470 | 1486 | | |
1471 | 1487 | | |
| |||
1500 | 1516 | | |
1501 | 1517 | | |
1502 | 1518 | | |
1503 | | - | |
| 1519 | + | |
1504 | 1520 | | |
1505 | 1521 | | |
1506 | 1522 | | |
| |||
1938 | 1954 | | |
1939 | 1955 | | |
1940 | 1956 | | |
1941 | | - | |
| 1957 | + | |
1942 | 1958 | | |
1943 | 1959 | | |
1944 | 1960 | | |
1945 | | - | |
| 1961 | + | |
1946 | 1962 | | |
1947 | 1963 | | |
1948 | 1964 | | |
| |||
1962 | 1978 | | |
1963 | 1979 | | |
1964 | 1980 | | |
1965 | | - | |
| 1981 | + | |
1966 | 1982 | | |
1967 | 1983 | | |
1968 | 1984 | | |
| |||
2000 | 2016 | | |
2001 | 2017 | | |
2002 | 2018 | | |
2003 | | - | |
| 2019 | + | |
2004 | 2020 | | |
2005 | 2021 | | |
2006 | 2022 | | |
| |||
2016 | 2032 | | |
2017 | 2033 | | |
2018 | 2034 | | |
2019 | | - | |
| 2035 | + | |
2020 | 2036 | | |
2021 | 2037 | | |
2022 | 2038 | | |
| |||
0 commit comments