Re: [BUG] sched: leaf_cfs_rq_list use after free
From: Peter Zijlstra
Date: Fri Mar 11 2016 - 12:28:18 EST
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
> 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.
echo 1 > /debug/tracing/options/stacktrace
will add a stack trace to each trace_printk().