Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753993AbbKXO6s (ORCPT ); Tue, 24 Nov 2015 09:58:48 -0500 Received: from mail.bmw-carit.de ([62.245.222.98]:43972 "EHLO mail.bmw-carit.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753071AbbKXO6q (ORCPT ); Tue, 24 Nov 2015 09:58:46 -0500 X-CTCH-RefID: str=0001.0A0C0204.56547B23.009F,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 Subject: Re: [PATCH cgroup/for-4.4-fixes] cgroup: make css_set pin its css's to avoid use-afer-free To: Tejun Heo References: <20151123195541.GA19072@mtj.duckdns.org> <56543C76.2050008@bmw-carit.de> <20151124144418.GB17033@mtj.duckdns.org> CC: Li Zefan , Johannes Weiner , , , Dave Jones , From: Daniel Wagner X-Enigmail-Draft-Status: N1110 Message-ID: <56547B22.2020802@bmw-carit.de> Date: Tue, 24 Nov 2015 15:58:42 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151124144418.GB17033@mtj.duckdns.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2477 Lines: 54 Hi Tejun, On 11/24/2015 03:44 PM, Tejun Heo wrote: > On Tue, Nov 24, 2015 at 11:31:18AM +0100, Daniel Wagner wrote: >> [ 19.369455] ------------[ cut here ]------------ >> [ 19.369851] WARNING: CPU: 1 PID: 1 at kernel/cgroup_pids.c:97 pids_cancel.constprop.6+0x31/0x40() >> [ 19.370596] Modules linked in: >> [ 19.370916] CPU: 1 PID: 1 Comm: systemd Not tainted 4.4.0-rc1+ #29 >> [ 19.371418] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.8.2-0-g33fbe13 by qemu-project.org 04/01/2014 >> [ 19.372542] ffffffff81f65382 ffff88007c043b90 ffffffff81551ffc 0000000000000000 >> [ 19.373173] ffff88007c043bc8 ffffffff810de202 ffff88007a752000 ffff88007a29ab00 >> [ 19.374144] ffff88007c043c80 ffff88007a1d8400 0000000000000001 ffff88007c043bd8 >> [ 19.375185] Call Trace: >> [ 19.375506] [] dump_stack+0x4e/0x82 >> [ 19.376238] [] warn_slowpath_common+0x82/0xc0 >> [ 19.376975] [] warn_slowpath_null+0x1a/0x20 >> [ 19.377765] [] pids_cancel.constprop.6+0x31/0x40 >> [ 19.378623] [] pids_can_attach+0x6d/0xf0 >> [ 19.379451] [] cgroup_taskset_migrate+0x6c/0x330 >> [ 19.380142] [] cgroup_migrate+0xf5/0x190 > > Can you please describe how to reproduce this one? I start a not so updated rawhide image with some funky kernel options. They are more less some left overs from debugging: $QEMU -gdb tcp::1235 -enable-kvm -machine accel=kvm \ -m 2G -cpu Haswell \ -smp sockets=1,cores=2,threads=2 \ -hda ~/vm-images/rawhide-big.qcow2\ -net nic,model=virtio \ -net user,hostfwd=tcp::7777-:22 \ -monitor telnet:127.0.0.1:1234,server,nowait \ -serial stdio -display none \ -append "root=/dev/sda1 console=ttyS0 audit=0 isolcpus=3 systemd.unified_cgroup_hierarchy=1" \ -kernel arch/x86_64/boot/bzImage $@ After starting the image I just wait for a few seconds and I'll get it. No interaction needed. > If you have a qemu image which reproduces this, I'd be happy to take > a look at it. I'll upload it, though it will take a while... the fun of living with asymmetric connectivity. cheers, daniel -- 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/