Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1236602

Re: [RFC 0/3] sched/idle: run-time support for setting idle polling

From Luiz Capitulino <lcapitulino@redhat.com>
Newsgroups linux.kernel
Subject Re: [RFC 0/3] sched/idle: run-time support for setting idle polling
Date 2015-09-30 20:10 +0200
Message-ID <qetZf-4bK-5@gated-at.bofh.it> (permalink)
References <qbCw1-7OJ-3@gated-at.bofh.it> <qbGzD-59T-9@gated-at.bofh.it> <qerXs-14n-5@gated-at.bofh.it> <qetcS-327-5@gated-at.bofh.it> <qetwe-3ox-27@gated-at.bofh.it>
Organization Red Hat

Show all headers | View raw


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().
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RFC 0/3] sched/idle: run-time support for setting idle polling Luiz Capitulino <lcapitulino@redhat.com> - 2015-09-22 22:40 +0200
  [RFC 3/3] sched/idle: run-time support for setting idle polling Luiz Capitulino <lcapitulino@redhat.com> - 2015-09-22 22:40 +0200
  Re: [RFC 0/3] sched/idle: run-time support for setting idle polling "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-09-23 03:00 +0200
    Re: [RFC 0/3] sched/idle: run-time support for setting idle polling Luiz Capitulino <lcapitulino@redhat.com> - 2015-09-23 15:30 +0200
    Re: [RFC 0/3] sched/idle: run-time support for setting idle polling Peter Zijlstra <peterz@infradead.org> - 2015-09-30 18:00 +0200
      Re: [RFC 0/3] sched/idle: run-time support for setting idle polling Luiz Capitulino <lcapitulino@redhat.com> - 2015-09-30 19:20 +0200
        Re: [RFC 0/3] sched/idle: run-time support for setting idle polling Peter Zijlstra <peterz@infradead.org> - 2015-09-30 19:40 +0200
          Re: [RFC 0/3] sched/idle: run-time support for setting idle polling Luiz Capitulino <lcapitulino@redhat.com> - 2015-09-30 20:10 +0200

csiph-web