Repository navigation
Commit b049340
committed
vtime: Optimize full dynticks accounting off case with static keys
If no CPU is in the full dynticks range, we can avoid the full
dynticks cputime accounting through generic vtime along with its
overhead and use the traditional tick based accounting instead.
Let's do this and nope the off case with static keys.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Li Zhong <zhong@linux.vnet.ibm.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Kevin Hilman <khilman@linaro.org>1 parent a5725ac commit b049340
3 files changed
Lines changed: 67 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
| 77 | + | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
85 | 84 | | |
86 | | - | |
87 | | - | |
| 85 | + | |
88 | 86 | | |
89 | 87 | | |
90 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
10 | 39 | | |
| 40 | + | |
| 41 | + | |
11 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
12 | 52 | | |
13 | 53 | | |
14 | 54 | | |
15 | | - | |
16 | 55 | | |
17 | | - | |
18 | | - | |
19 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
20 | 66 | | |
21 | 67 | | |
22 | 68 | | |
23 | 69 | | |
24 | 70 | | |
25 | 71 | | |
26 | 72 | | |
27 | | - | |
28 | | - | |
| 73 | + | |
29 | 74 | | |
30 | 75 | | |
31 | 76 | | |
32 | | - | |
33 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
34 | 85 | | |
| 86 | + | |
35 | 87 | | |
36 | 88 | | |
37 | 89 | | |
38 | 90 | | |
39 | 91 | | |
40 | 92 | | |
41 | 93 | | |
42 | | - | |
| 94 | + | |
43 | 95 | | |
44 | 96 | | |
45 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
381 | | - | |
| 381 | + | |
382 | 382 | | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | 383 | | |
387 | 384 | | |
388 | 385 | | |
| |||
404 | 401 | | |
405 | 402 | | |
406 | 403 | | |
407 | | - | |
| 404 | + | |
408 | 405 | | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | 406 | | |
413 | 407 | | |
414 | 408 | | |
| |||
428 | 422 | | |
429 | 423 | | |
430 | 424 | | |
431 | | - | |
| 425 | + | |
432 | 426 | | |
433 | 427 | | |
434 | 428 | | |
| |||
669 | 663 | | |
670 | 664 | | |
671 | 665 | | |
672 | | - | |
| 666 | + | |
673 | 667 | | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | 668 | | |
678 | 669 | | |
679 | 670 | | |
| |||
732 | 723 | | |
733 | 724 | | |
734 | 725 | | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
739 | | - | |
740 | 726 | | |
741 | 727 | | |
742 | 728 | | |
| |||
0 commit comments