Re: [PATCH for v4.9-stable] sched: fix softirq time accounting

2018-01-17 Thread Greg KH
On Wed, Dec 13, 2017 at 11:54:56AM +0100, Greg KH wrote: > On Wed, Dec 13, 2017 at 11:11:16AM +0100, Rabin Vincent wrote: > > From: Rabin Vincent > > > > softirq time accounting is broken on v4.9.x if ksoftirqd runs. > > > > With > > CONFIG_IRQ_TIME_ACCOUNTING=y > > # CONFIG_VIRT_CPU_ACC

Re: [PATCH for v4.9-stable] sched: fix softirq time accounting

2017-12-13 Thread Greg KH
On Wed, Dec 13, 2017 at 11:11:16AM +0100, Rabin Vincent wrote: > From: Rabin Vincent > > softirq time accounting is broken on v4.9.x if ksoftirqd runs. > > With > CONFIG_IRQ_TIME_ACCOUNTING=y > # CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set > > this test code: > > struct tasklet

[PATCH for v4.9-stable] sched: fix softirq time accounting

2017-12-13 Thread Rabin Vincent
From: Rabin Vincent softirq time accounting is broken on v4.9.x if ksoftirqd runs. With CONFIG_IRQ_TIME_ACCOUNTING=y # CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set this test code: struct tasklet_struct tasklet; static void delay_tasklet(unsigned long data)