kernel: Don't allow userspace to alter IRQ affinities
The msm_irqbalance service in userspace constantly migrates IRQs between CPUs according to its whims, which is not desired. All of the IRQs have a sane affinity (CPU0 if unimportant, CPU4-7 otherwise), so prevent userspace from tampering with that. Signed-off-by: Sultan Alsawaf <sultanxda@gmail.com> (cherry picked from commit 6cedf3c9b1f8c962d19ce4151ca5caaff69e3c6a) (cherry picked from commit 8fc0013ba4094fd8fe95fb0d23af0936347060f4)
This commit is contained in:
parent
3de61e729d
commit
18de03d1a6
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ static int irq_affinity_hint_proc_show(struct seq_file *m, void *v)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int no_irq_affinity;
|
||||
int no_irq_affinity = 1;
|
||||
static int irq_affinity_proc_show(struct seq_file *m, void *v)
|
||||
{
|
||||
return show_irq_affinity(AFFINITY, m);
|
||||
|
|
Loading…
Reference in a new issue