Messages in this thread | | | Date | Wed, 30 Sep 2015 14:01:43 -0400 | From | Luiz Capitulino <> | Subject | Re: [RFC 0/3] sched/idle: run-time support for setting idle polling |
| |
On Wed, 30 Sep 2015 19:27:13 +0200 Peter Zijlstra <peterz@infradead.org> wrote:
> On Wed, Sep 30, 2015 at 01:16:10PM -0400, Luiz Capitulino wrote: > > On Wed, 30 Sep 2015 17:48:35 +0200 > > Peter Zijlstra <peterz@infradead.org> wrote: > > > > Ideally every cpuidle driver would get 'polling' as a > > > default state and the QoS constraints might select it if nothing else > > > matches. > > > > So, I didn't know we had support for polling from the idle > > thread via cpuidle. This solves the first part of the problem. > > I'm not sure we do; I'm saying that's what we should do ;-)
Yeah, but I think it's done already. Although I haven't tested it yet:
[root@localhost ~]# cat /sys/devices/system/cpu/cpu0/cpuidle/state0/name POLL [root@localhost ~]#
This is installed by drivers/cpuidle/driver.c:poll_idle_init().
| |