Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1586140
| From | Mike Galbraith <efault@gmx.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: 9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration |
| Date | 2017-02-22 14:20 +0100 |
| Message-ID | <tdEZP-2cZ-11@gated-at.bofh.it> (permalink) |
| References | <tdEGu-1Nw-15@gated-at.bofh.it> <tdEZP-2cZ-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 2017-02-22 at 14:12 +0100, Peter Zijlstra wrote: > On Wed, Feb 22, 2017 at 01:56:37PM +0100, Mike Galbraith wrote: > > Hi, > > > > Do we really need a spinlock for that in the idle loop? > > Urgh, that's broken on RT, you cannot schedule the idle loop. That's what made me notice the obnoxious little bugger. [ 77.608340] BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:995 [ 77.608342] in_atomic(): 1, irqs_disabled(): 1, pid: 0, name: swapper/1 [ 77.608343] INFO: lockdep is turned off. [ 77.608344] irq event stamp: 59222 [ 77.608353] hardirqs last enabled at (59221): [<ffffffff81105a1f>] rcu_idle_exit+0x2f/0x50 [ 77.608362] hardirqs last disabled at (59222): [<ffffffff810d4f1a>] do_idle+0x9a/0x290 [ 77.608372] softirqs last enabled at (0): [<ffffffff8107b8f1>] copy_process.part.34+0x5f1/0x22a0 [ 77.608374] softirqs last disabled at (0): [< (null)>] (null) [ 77.608374] Preemption disabled at: [ 77.608383] [<ffffffff817282b2>] schedule_preempt_disabled+0x22/0x30 [ 77.608387] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G W E 4.11.0-rt9-rt #163 [ 77.608389] Hardware name: Intel Corporation BRICKLAND/BRICKLAND, BIOS BRHSXSD1.86B.0056.R01.1409242327 09/24/2014 [ 77.608390] Call Trace: [ 77.608399] dump_stack+0x85/0xc8 [ 77.608405] ___might_sleep+0x15d/0x260 [ 77.608409] rt_spin_lock+0x24/0x80 [ 77.608419] dev_pm_qos_read_value+0x1e/0x40 [ 77.608424] menu_select+0x56/0x3e0 [ 77.608426] ? rcu_eqs_enter_common.isra.40+0x9d/0x160 [ 77.608435] cpuidle_select+0x13/0x20 [ 77.608438] do_idle+0x182/0x290 [ 77.608445] cpu_startup_entry+0x48/0x50 [ 77.608450] start_secondary+0x133/0x160 [ 77.608453] start_cpu+0x14/0x14
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration Mike Galbraith <efault@gmx.de> - 2017-02-22 14:00 +0100
Re: 9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration Peter Zijlstra <peterz@infradead.org> - 2017-02-22 14:20 +0100
Re: 9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration Mike Galbraith <efault@gmx.de> - 2017-02-22 14:20 +0100
Re: 9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration Peter Zijlstra <peterz@infradead.org> - 2017-02-22 15:40 +0100
Re: 9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration Alex Shi <alex.shi@linaro.org> - 2017-02-22 16:00 +0100
Re: 9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2017-02-23 13:30 +0100
Re: 9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration Mike Galbraith <efault@gmx.de> - 2017-02-23 14:20 +0100
Re: 9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration Alex Shi <alex.shi@linaro.org> - 2017-02-23 15:10 +0100
Re: 9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration Alex Shi <alex.shi@linaro.org> - 2017-02-23 15:10 +0100
Re: 9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2017-02-23 23:40 +0100
Re: 9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration Alex Shi <alex.shi@linaro.org> - 2017-02-24 03:00 +0100
[PATCH] cpuidle: menu: Avoid taking spinlock for accessing QoS values "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2017-02-24 13:40 +0100
Re: 9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration Alex Shi <alex.shi@linaro.org> - 2017-02-22 15:40 +0100
Re: 9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration Mike Galbraith <efault@gmx.de> - 2017-02-22 15:50 +0100
Re: 9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration Alex Shi <alex.shi@linaro.org> - 2017-02-22 16:00 +0100
Re: 9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration Mike Galbraith <efault@gmx.de> - 2017-02-22 16:10 +0100
Re: 9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration Alex Shi <alex.shi@linaro.org> - 2017-02-22 16:40 +0100
Re: 9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration Mike Galbraith <efault@gmx.de> - 2017-02-22 16:50 +0100
csiph-web