Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7032742imu; Mon, 3 Dec 2018 06:46:31 -0800 (PST) X-Google-Smtp-Source: AFSGD/UXtIVioodGwfIGFi48Hs2lrzPPjDnBpt1boCzmRq+i48fUO3gnk9g5isjtQajfhRNS9cYS X-Received: by 2002:a17:902:20c6:: with SMTP id v6mr16467739plg.156.1543848391501; Mon, 03 Dec 2018 06:46:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543848391; cv=none; d=google.com; s=arc-20160816; b=XrbCTyiBODW0DmVCtB5NnwH44pNapEGx6v6UVv39aPk2QojFDcT1+ezrzTgayhpKrS Yrsjkhx8YUuKQnbwg2YkgYMJVXvoiLkNpapocmwRV5xshUtHd4tV6WcV6sMXLbFWFCN3 CYP4uNdMFkTutACgG/aPPz9qKdD03ZoHV1i4Tilg3231QhHwA5ciJ0p1fgbrLMmhPirx Ftcu63AXMQY4HqejAX3qAPn+CN0jxuGjZ4tl8A7vL3/k3YzYV1+KwEMTx2ENxK616uPv OJdEeKSA5FxhSkvuLhNEmAMGP42niRufoG3yyU43NExVQ6oqc5JvXGBmwtxO4cDlyI3l SRMw== 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; bh=cZGzMZveGP6CvqyeIj3EO+nIQ0Ct2xuMtoyPCecjCvs=; b=fpTWKQecvCsfsQT1+nbiqse95b67NizpSwoGWdVaBWvyqUlIjrusXjGNiS4EJnRkr+ v+lRqEiHEIwYHmKAvJL7ht7N6xngPmhAROK1TitCmuY4bDM5ouziD7yj435n0f99nGoY VDXiP2MWWnTdGGH2mjxcQQ9CopezI+ZLcBRmT7oBDLBkhTpNB1lToC4mTiQASdxv+Qnr Yx4qU3diGioe13gxmBWBtsTihlo5Y7UkU7w8ea0kNsC+p6V7YssZ3w/pcF6spVaeFTow Hst3mzRo3raJojf9zT2Ldby0E49N14F86i9Gpt7pKmDstTSN47PaS5ZE/U4qNOwembUb GiwA== ARC-Authentication-Results: i=1; mx.google.com; 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 k5si13255987pgr.69.2018.12.03.06.46.16; Mon, 03 Dec 2018 06:46:31 -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; 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 S1726457AbeLCOq4 (ORCPT + 99 others); Mon, 3 Dec 2018 09:46:56 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:48876 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725918AbeLCOq4 (ORCPT ); Mon, 3 Dec 2018 09:46:56 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 2F65680854; Mon, 3 Dec 2018 15:45:34 +0100 (CET) Date: Mon, 3 Dec 2018 15:45:36 +0100 From: Pavel Machek To: Michal Hocko Cc: Oleg Nesterov , Ingo Molnar , Linus Torvalds , Linux List Kernel Mailing , "Rafael J. Wysocki" , Chanho Min , Thomas Gleixner , Peter Zijlstra Subject: Re: [PATCH] Revert "exec: make de_thread() freezable (was: Re: Linux 4.20-rc4) Message-ID: <20181203144536.GA15279@amd> References: <20181203074700.GA21240@gmail.com> <20181203083942.GF31738@dhcp22.suse.cz> <20181203123149.GB31795@redhat.com> <20181203123857.GS31738@dhcp22.suse.cz> <20181203131006.GA10054@amd> <20181203135351.GU31738@dhcp22.suse.cz> <20181203141459.GA14789@amd> <20181203141737.GY31738@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <20181203141737.GY31738@dhcp22.suse.cz> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon 2018-12-03 15:17:37, Michal Hocko wrote: > On Mon 03-12-18 15:14:59, Pavel Machek wrote: > > On Mon 2018-12-03 14:53:51, Michal Hocko wrote: > > > On Mon 03-12-18 14:10:06, Pavel Machek wrote: > > > > On Mon 2018-12-03 13:38:57, Michal Hocko wrote: > > > > > On Mon 03-12-18 13:31:49, Oleg Nesterov wrote: > > > > > > On 12/03, Michal Hocko wrote: > > > > > > > > > > > > > > Now, I wouldn't mind to revert this because the code is reall= y old and > > > > > > > we haven't seen many bug reports about failing suspend yet. B= ut what is > > > > > > > the actual plan to make this work properly? > > > > > >=20 > > > > > > I don't see a simple solution... > > > > > >=20 > > > > > > But we need to fix exec/de_thread anyway, then we can probably = reconsider > > > > > > this patch. > > > > >=20 > > > > > My concern is that de_thread fix might be too disruptive for stab= le > > > > > kernels while we might want to have a simple enough fix for the t= he > > > > > suspend issue in the meantime. That was actually the primary reas= on I've > > > > > acked the hack even though I didn't like it. > > > >=20 > > > > Do we care about failing sleep in stable? Does someone hit the issu= e there? > > > >=20 > > > > This sounds like issue only Android is hitting, and they run very > > > > heavily patched kernels, far away from mainline or stable. > > >=20 > > > But the underlying issue is the same and independent on their patches > > > AFAIU. And is this really a common problem to care about in stable? I > > > dunno to be honest but it sounds annoying for sure. Failing suspend is > > > something that doesn't make your day when you are in hurry and want > > > find out only later when your laptop heats up your bag ;) > >=20 > > In general, yes. In practice, if it happens 1 in 1000000 suspends, you > > don't care that much (but Android cares). >=20 > This argument just doesn't make any sense. Rare bugs are maybe even > more I guess argumenting about this just does not make sense. Just bear in mind -stable is not for theoretical problems. > annoying because you do not expect them to happen. But I would be more > interested to see whether they are any downside. Is there any actual > risk to silence the lockup detector that you can see? As someone else noticed: a) the bug can be triggered outside suspend b) the lockdep report is real. You'll still get suspend failure, but you now need two processes to trigger it > > Do we actually have reports of this happening for people outside > > Android? >=20 > Not that I am aware of. Good. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlwFQZAACgkQMOfwapXb+vKiWQCfWz53qjgUAKALyYgCJreXkzra Ib0AoLhkCplesk1GXWa5hUS0Ke5AgJvN =QQzV -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY--