[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150930140143.7b187451@redhat.com>
Date: Wed, 30 Sep 2015 14:01:43 -0400
From: Luiz Capitulino <lcapitulino@...hat.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: "Rafael J. Wysocki" <rjw@...ysocki.net>,
linux-kernel@...r.kernel.org, riel@...hat.com,
rafael.j.wysocki@...el.com, mingo@...nel.org,
Linux PM list <linux-pm@...r.kernel.org>,
Len Brown <len.brown@...el.com>,
Thomas Gleixner <tglx@...utronix.de>
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@...radead.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@...radead.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@...alhost ~]# cat /sys/devices/system/cpu/cpu0/cpuidle/state0/name
POLL
[root@...alhost ~]#
This is installed by drivers/cpuidle/driver.c:poll_idle_init().
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists