diff options
| author | 2019-11-16 11:12:03 +0100 | |
|---|---|---|
| committer | 2019-11-16 11:24:07 +0100 | |
| commit | a3ba966066afbe8fd0d3605ffe04c633083752f1 (patch) | |
| tree | 46b9571c5a35456ec64e3aa012d217da253435e0 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | selftests/x86/iopl: Extend test to cover IOPL emulation (diff) | |
| download | linux-rng-a3ba966066afbe8fd0d3605ffe04c633083752f1.tar.xz linux-rng-a3ba966066afbe8fd0d3605ffe04c633083752f1.zip | |
x86/entry/32: Clarify register saving in __switch_to_asm()
commit 6690e86be83a ("sched/x86: Save [ER]FLAGS on context switch")
re-introduced the flags saving on context switch to prevent AC leakage.
The pushf/popf instructions are right among the callee saved register
section, so the comment explaining the save/restore is not entirely
correct.
Add a seperate comment to pushf/popf explaining the reason.
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
