Commit 90f5df6
timers: Restructure internal locking
Move the locking out from __run_timers() to the call sites, so the
protected section can be extended at the call site. Preparatory work for
changing the NOHZ timer placement to a pull at expiry time model.
No functional change.
Signed-off-by: Richard Cochran (linutronix GmbH) <richardcochran@gmail.com>
Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lore.kernel.org/r/20240221090548.36600-15-anna-maria@linutronix.de1 parent f73d925 commit 90f5df6
1 file changed
Lines changed: 21 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2283 | 2283 | | |
2284 | 2284 | | |
2285 | 2285 | | |
2286 | | - | |
2287 | | - | |
2288 | | - | |
2289 | | - | |
2290 | | - | |
| 2286 | + | |
2291 | 2287 | | |
2292 | 2288 | | |
2293 | 2289 | | |
| |||
2311 | 2307 | | |
2312 | 2308 | | |
2313 | 2309 | | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
| 2314 | + | |
| 2315 | + | |
| 2316 | + | |
| 2317 | + | |
| 2318 | + | |
| 2319 | + | |
2314 | 2320 | | |
2315 | 2321 | | |
2316 | 2322 | | |
2317 | 2323 | | |
| 2324 | + | |
| 2325 | + | |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
| 2329 | + | |
| 2330 | + | |
2318 | 2331 | | |
2319 | 2332 | | |
2320 | 2333 | | |
2321 | 2334 | | |
2322 | 2335 | | |
2323 | | - | |
2324 | | - | |
2325 | | - | |
| 2336 | + | |
2326 | 2337 | | |
2327 | | - | |
2328 | | - | |
| 2338 | + | |
| 2339 | + | |
2329 | 2340 | | |
2330 | 2341 | | |
2331 | 2342 | | |
| |||
0 commit comments