diff options
| author | Andy Lutomirski <[email protected]> | 2017-06-09 18:49:15 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-06-11 08:58:17 +0000 |
| commit | 252d2a4117bc181b287eeddf848863788da733ae (patch) | |
| tree | 8a9a400f28e91a6b7f222dde070be9047a3cd37b /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | sched/fair: Fix typo in printk message (diff) | |
| download | kernel-252d2a4117bc181b287eeddf848863788da733ae.tar.gz kernel-252d2a4117bc181b287eeddf848863788da733ae.zip | |
sched/core: Idle_task_exit() shouldn't use switch_mm_irqs_off()
idle_task_exit() can be called with IRQs on x86 on and therefore
should use switch_mm(), not switch_mm_irqs_off().
This doesn't seem to cause any problems right now, but it will
confuse my upcoming TLB flush changes. Nonetheless, I think it
should be backported because it's trivial. There won't be any
meaningful performance impact because idle_task_exit() is only
used when offlining a CPU.
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Fixes: f98db6013c55 ("sched/core: Add switch_mm_irqs_off() and use it in the scheduler")
Link: http://lkml.kernel.org/r/ca3d1a9fa93a0b49f5a8ff729eda3640fb6abdf9.1497034141.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
