[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160311172808.GF6344@twins.programming.kicks-ass.net>
Date: Fri, 11 Mar 2016 18:28:08 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Niklas Cassel <niklas.cassel@...s.com>
Cc: tj@...nel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [BUG] sched: leaf_cfs_rq_list use after free
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().
Powered by blists - more mailing lists