Re: [RFC PATCH v5 2/4] genirq: add irq_migrate_all_off_this_cpu() for cpu hotplug

2015-09-23 Thread Thomas Gleixner
On Wed, 23 Sep 2015, Yang Yingliang wrote: > On 2015/9/23 2:54, Thomas Gleixner wrote: > > On Sat, 19 Sep 2015, Yang Yingliang wrote: > > > > > Add irq_migrate_all_off_this_cpu() into kernel/irq/migration.c. > > > > This doesn't make any sense at all. > > > > You just reuse the existing file to

Re: [RFC PATCH v5 2/4] genirq: add irq_migrate_all_off_this_cpu() for cpu hotplug

2015-09-23 Thread Thomas Gleixner
On Wed, 23 Sep 2015, Yang Yingliang wrote: > On 2015/9/23 2:54, Thomas Gleixner wrote: > > On Sat, 19 Sep 2015, Yang Yingliang wrote: > > > > > Add irq_migrate_all_off_this_cpu() into kernel/irq/migration.c. > > > > This doesn't make any sense at all. > > > > You just reuse the existing file to

Re: [RFC PATCH v5 2/4] genirq: add irq_migrate_all_off_this_cpu() for cpu hotplug

2015-09-22 Thread Yang Yingliang
On 2015/9/23 2:54, Thomas Gleixner wrote: On Sat, 19 Sep 2015, Yang Yingliang wrote: Add irq_migrate_all_off_this_cpu() into kernel/irq/migration.c. This doesn't make any sense at all. You just reuse the existing file to stick your new code into it without reusing a single bit in that

Re: [RFC PATCH v5 2/4] genirq: add irq_migrate_all_off_this_cpu() for cpu hotplug

2015-09-22 Thread Thomas Gleixner
On Sat, 19 Sep 2015, Yang Yingliang wrote: > Add irq_migrate_all_off_this_cpu() into kernel/irq/migration.c. This doesn't make any sense at all. You just reuse the existing file to stick your new code into it without reusing a single bit in that file. Aside of that it's unconditionally

Re: [RFC PATCH v5 2/4] genirq: add irq_migrate_all_off_this_cpu() for cpu hotplug

2015-09-22 Thread Marc Zyngier
On Sat, 19 Sep 2015 11:05:57 +0800 Yang Yingliang wrote: > Add irq_migrate_all_off_this_cpu() into kernel/irq/migration.c. > So we can use it to migrate interrupts, when cpu is offline. > > Cc: Jiang Liu > Cc: Thomas Gleixner > Cc: Marc Zyngier > Cc: Mark Rutland > Cc: Will Deacon > Cc:

Re: [RFC PATCH v5 2/4] genirq: add irq_migrate_all_off_this_cpu() for cpu hotplug

2015-09-22 Thread Marc Zyngier
On Sat, 19 Sep 2015 11:05:57 +0800 Yang Yingliang wrote: > Add irq_migrate_all_off_this_cpu() into kernel/irq/migration.c. > So we can use it to migrate interrupts, when cpu is offline. > > Cc: Jiang Liu > Cc: Thomas Gleixner

Re: [RFC PATCH v5 2/4] genirq: add irq_migrate_all_off_this_cpu() for cpu hotplug

2015-09-22 Thread Thomas Gleixner
On Sat, 19 Sep 2015, Yang Yingliang wrote: > Add irq_migrate_all_off_this_cpu() into kernel/irq/migration.c. This doesn't make any sense at all. You just reuse the existing file to stick your new code into it without reusing a single bit in that file. Aside of that it's unconditionally

Re: [RFC PATCH v5 2/4] genirq: add irq_migrate_all_off_this_cpu() for cpu hotplug

2015-09-22 Thread Yang Yingliang
On 2015/9/23 2:54, Thomas Gleixner wrote: On Sat, 19 Sep 2015, Yang Yingliang wrote: Add irq_migrate_all_off_this_cpu() into kernel/irq/migration.c. This doesn't make any sense at all. You just reuse the existing file to stick your new code into it without reusing a single bit in that

[RFC PATCH v5 2/4] genirq: add irq_migrate_all_off_this_cpu() for cpu hotplug

2015-09-18 Thread Yang Yingliang
Add irq_migrate_all_off_this_cpu() into kernel/irq/migration.c. So we can use it to migrate interrupts, when cpu is offline. Cc: Jiang Liu Cc: Thomas Gleixner Cc: Marc Zyngier Cc: Mark Rutland Cc: Will Deacon Cc: Russell King - ARM Linux Cc: Hanjun Guo Signed-off-by: Yang Yingliang ---

[RFC PATCH v5 2/4] genirq: add irq_migrate_all_off_this_cpu() for cpu hotplug

2015-09-18 Thread Yang Yingliang
Add irq_migrate_all_off_this_cpu() into kernel/irq/migration.c. So we can use it to migrate interrupts, when cpu is offline. Cc: Jiang Liu Cc: Thomas Gleixner Cc: Marc Zyngier Cc: Mark Rutland Cc: Will