Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4002761imu; Mon, 7 Jan 2019 13:35:15 -0800 (PST) X-Google-Smtp-Source: ALg8bN4OLSIUFgA4fgDk5rhap4ZH066YcsepiT95l8A4krWLC7BeEhOtNpWu2Q14Pw9Yr8TFWP1p X-Received: by 2002:a63:e516:: with SMTP id r22mr12566077pgh.256.1546896915268; Mon, 07 Jan 2019 13:35:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546896915; cv=none; d=google.com; s=arc-20160816; b=vNSaCQx26UcRL3wBtaZ8co1aHzqlDqK5oil59V/EGNgU1TuptSMkorx2LAhh/xoSC6 4XfiLxqd9+HfYpwVYFrzwn9ox3Y+uhGv8qGknWmYtLxebDwmW9/2aU/cRkKoHyzw3M/p sYvCPI4jyhZmlMGDbYHpzj0zbuy2q4bnfgHcjyNDNZX8cKBOqwT7NrnXryVYTp92Chwx Hw34z9NGPvp/b2+ksn1sDLgfzCqQC29LTcWCOvgvSJV/gChHvJjtpmUsBpPb519IcLyl iUdbZuyJoa1blXEukWRkaukgWo5p70gX2eoTR2D6oNSe70za9omo6dXvNFQnzrWh3d17 zd9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=O26H17LH+2EZaZkE/Gv1udkC7WkJ5WAzErBfQFSJ7rk=; b=AVcm2xhzWSqaC5i1I/U5+dcVwgA4ySTg5XJASl+XcefH+qGrB2J5j21ujwIH5iLsv6 OfjtAGkc57hclvnTsv3Of2bRqFYQ2ugEsMaikGYeOpQG6RQDpDjITjd+ZAGUrCXOI9v9 DWx9+b4Fa/fp2tpQoQxkbOt3Hnr3itPaRGv+PNddQh98qZfZCjO72b0FZqU1BcniF/Ro KioPdqv1LbDkmQRocX9xVImDLhuuMLJJRf8EsP9tUJvuwUvwGJ7L2I8HB50j9HR17UhX Q2jNL4CyKKxMqDJs71CPCLyChuX7A9qEsb+yvebHTKKLnFpyep0///wi0ASthVnQIoNS luUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b="pF/LrQ/O"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 41si7133577plf.347.2019.01.07.13.34.57; Mon, 07 Jan 2019 13:35:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b="pF/LrQ/O"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726925AbfAGVdv (ORCPT + 99 others); Mon, 7 Jan 2019 16:33:51 -0500 Received: from merlin.infradead.org ([205.233.59.134]:42396 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726535AbfAGVdv (ORCPT ); Mon, 7 Jan 2019 16:33:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=O26H17LH+2EZaZkE/Gv1udkC7WkJ5WAzErBfQFSJ7rk=; b=pF/LrQ/OXKYO4Yk275iLmRpFx IwWumaqn1ldekhNqa81mbEOVYw3s4S0w8zHXkBCBeHsYFHF5DMT+z3ERY8i0YvQvWfUCs8E0BWRGg 9+gVYy9Gn0mOfYbF0xbkh57GdxadUqzKpzheYIHNZngoEg0MVgVVExzgl9AwvIHDuJNK0YSl69T3q J0Kc694CEXzCjH2vNCw2+/DYt0o4QC0lZ1WAaqxWl19vqV1ddUMvGHKcsmcmhsgucWrHLrVCulcPO zu06uldIu18K0YczWG//pcwKC6LknYLHPmjDl+MKBwY47CappYzMT5QuazwwQN3Jw4kWKkyuL/HcQ qc0PyHA5g==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1ggcWE-0008JU-Ue; Mon, 07 Jan 2019 21:33:11 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 9059521A79DB9; Mon, 7 Jan 2019 22:33:08 +0100 (CET) Date: Mon, 7 Jan 2019 22:33:08 +0100 From: Peter Zijlstra To: Johannes Weiner Cc: Vlastimil Babka , syzbot , aarcange@redhat.com, akpm@linux-foundation.org, kirill.shutemov@linux.intel.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux@dominikbrodowski.net, mhocko@suse.com, rientjes@google.com, syzkaller-bugs@googlegroups.com, xieyisheng1@huawei.com, zhongjiang@huawei.com, Mel Gorman , Ingo Molnar Subject: Re: possible deadlock in __wake_up_common_lock Message-ID: <20190107213308.GE16284@hirez.programming.kicks-ass.net> References: <000000000000f67ca2057e75bec3@google.com> <1194004c-f176-6253-a5fd-682472dccacc@suse.cz> <20190107095217.GB2861@worktop.programming.kicks-ass.net> <20190107204627.GA25526@cmpxchg.org> <20190107212921.GK14122@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190107212921.GK14122@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 07, 2019 at 10:29:21PM +0100, Peter Zijlstra wrote: > On Mon, Jan 07, 2019 at 03:46:27PM -0500, Johannes Weiner wrote: > > Hm, so the splat says this: > > > > wakeups take the pi lock > > pi lock holders take the rq lock > > rq lock holders take the timer base lock (thanks psi) > > timer base lock holders take the zone lock (thanks kasan) That's not kasan, that's debugobjects, and that would be equally true for the hrtimer usage we already have in the scheduler. With that, I'm not entirely sure we're responsible for this splat.. I'll try and have another look tomorrow.