Re: [PATCH] genirq/proc: Show percpu irq affinity

2020-08-25 Thread Yunfeng Ye
On 2020/8/22 19:35, Thomas Gleixner wrote: > On Sat, Aug 22 2020 at 17:33, Yunfeng Ye wrote: >> On 2020/8/13 16:27, Thomas Gleixner wrote: >> For example, the cmdline "irqaffinity=0,1,126,127" on the 128 cores system: >> >> [root@localhost ~]# cat /proc/irq/4/smp_affinity_list >> 0-1,126-127 >>

Re: [PATCH] genirq/proc: Show percpu irq affinity

2020-08-22 Thread Thomas Gleixner
On Sat, Aug 22 2020 at 17:33, Yunfeng Ye wrote: > On 2020/8/13 16:27, Thomas Gleixner wrote: > For example, the cmdline "irqaffinity=0,1,126,127" on the 128 cores system: > > [root@localhost ~]# cat /proc/irq/4/smp_affinity_list > 0-1,126-127 > > The irq 4 is "arch_timer" interrupt, which is a perc

Re: [PATCH] genirq/proc: Show percpu irq affinity

2020-08-22 Thread Yunfeng Ye
On 2020/8/13 16:27, Thomas Gleixner wrote: > Yunfeng Ye writes: > >> When the "affinity=" cmdline parameter is configured, > > There is no such parameter. > >> the interrupt affinity displayed in the proc directory does not match >> with that of the the percu interrupt, and the percu interru

Re: [PATCH] genirq/proc: Show percpu irq affinity

2020-08-13 Thread Thomas Gleixner
Yunfeng Ye writes: > When the "affinity=" cmdline parameter is configured, There is no such parameter. > the interrupt affinity displayed in the proc directory does not match > with that of the the percu interrupt, and the percu interrupt uses > desc->percu_affinity. And when the non-existing

[PATCH] genirq/proc: Show percpu irq affinity

2020-08-09 Thread Yunfeng Ye
When the "affinity=" cmdline parameter is configured, the interrupt affinity displayed in the proc directory does not match with that of the the percu interrupt, and the percu interrupt uses desc->percu_affinity. So show desc->percu_affinity in show_irq_affinity() for percpu interrupt. Signed-off