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


Groups > linux.kernel > #1356077

Re: [BUG] sched: leaf_cfs_rq_list use after free

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [BUG] sched: leaf_cfs_rq_list use after free
Date 2016-03-11 18:30 +0100
Message-ID <rbz2W-1a0-15@gated-at.bofh.it> (permalink)
References <r8VsZ-5lt-3@gated-at.bofh.it> <rb8m6-78l-1@gated-at.bofh.it> <rbyJA-11y-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Mar 11, 2016 at 06:02:07PM +0100, Niklas Cassel wrote:
> > Can you describe a reliable reproducer?
> 
> Right now I just do a reboot loop, systemd creates cgroups during boot
> this dump took 84 reboots. Harder to reproduce with more trace_printks.

Bugger, I don't have a single system with systemd on, so that'll be hard
to reproduce.

> 
> CONFIG_SCHED_AUTOGROUP looks interesting though, might try that next week.
> 
> Appears that the call comes from idle_balance or rebalance_domains,
> since they are the only ones that call load_balance.

Weird, balancing should very much be inside the cgroup, so if balancing
moves anything, there must be tasks to begin with, which still should
not be the case if we've called offline.

FWIW:

echo 1 > /debug/tracing/options/stacktrace

will add a stack trace to each trace_printk().

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


Thread

[BUG] sched: leaf_cfs_rq_list use after free Niklas Cassel <niklas.cassel@axis.com> - 2016-03-04 11:50 +0100
  Re: [BUG] sched: leaf_cfs_rq_list use after free Peter Zijlstra <peterz@infradead.org> - 2016-03-10 14:00 +0100
    Re: [BUG] sched: leaf_cfs_rq_list use after free Peter Zijlstra <peterz@infradead.org> - 2016-03-11 18:30 +0100
    Re: [BUG] sched: leaf_cfs_rq_list use after free Tejun Heo <tj@kernel.org> - 2016-03-11 19:30 +0100

csiph-web