Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6926376imu; Mon, 3 Dec 2018 05:11:11 -0800 (PST) X-Google-Smtp-Source: AFSGD/VcllEaLvRiy5Jep7geQ9ywWr2UwpbZ+Efg8NyKNpwuAd3sDDEAYkuRX1WfxY+gDLEV/y0l X-Received: by 2002:a17:902:d01:: with SMTP id 1mr16221529plu.127.1543842671220; Mon, 03 Dec 2018 05:11:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543842671; cv=none; d=google.com; s=arc-20160816; b=zwfEs94lTYZJxU9OSn0qN0WPoqNroDqPjQ++29ZWBz5bn0XqQaGzaZZvyA//LPsN2c cfvALmCjIedTDe0EWs/HyXLVpcEUPjlJHC9b8aIX9Mgj8mZhsQavVAYR4u3tbg0O7jFt XF2H+/FT3IMHypupgRavQy8qsXNx2+tUwf03OV9bVlHZmRx2918KO5hgmT3/skBquLhR 1ZqhtlcsEyOtZSzwM9lwNbE3GE9GgQC3XvIBL2iy23eNubooZ1mCbffd4/65JWi+R6FS Cd9WHpdi9wdZHEjxBm6WLPNuB27I8jzVi81ix3D79fedm161UDVId46Em0D9eTtweG3a SuKg== 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=87JZpTkkooaTOQtdpUPcaElDTSY2b9UtrjFSJCO8uG8=; b=ZYo69OmsaZMQR5iNmiOthZY1IMHPJVwkEXeqvh/jicWF9fUyEDQqytXkfIA44RQe5g ka8m9aFZQtlIhEdHoXuAAYsF3mM+jrIpodWwg8NrmTvuK2vG94QKTdRMNWi7r+c0eBq5 +aIH0wl4oDkZDT0SAyC4u34NRFIMJ9HeaUBqA1oSM75JJiuFemVkaF2tKXVJdl4TkqaD OxCOTnGsOmkfG/ZlRYpe54aUZGXYZ6SvqPNDGJBbxiSpNDVU4l76PCq9m6afPSYL+MeN YJL5xf3AUS3kIORBLT8muRfd8qfb6KfejjJcuzMBgr5NnzC2q/iP6z41nOaH4WRg2cs6 HjnA== 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 q4si14475886pfq.56.2018.12.03.05.10.51; Mon, 03 Dec 2018 05:11:11 -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 S1725907AbeLCNLH (ORCPT + 99 others); Mon, 3 Dec 2018 08:11:07 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:46010 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725830AbeLCNLG (ORCPT ); Mon, 3 Dec 2018 08:11:06 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id AB2EA8093E; Mon, 3 Dec 2018 14:10:03 +0100 (CET) Date: Mon, 3 Dec 2018 14:10:06 +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: <20181203131006.GA10054@amd> References: <20181203074700.GA21240@gmail.com> <20181203083942.GF31738@dhcp22.suse.cz> <20181203123149.GB31795@redhat.com> <20181203123857.GS31738@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline In-Reply-To: <20181203123857.GS31738@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 --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 really old and > > > we haven't seen many bug reports about failing suspend yet. But 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 reconsid= er > > this patch. >=20 > My concern is that de_thread fix might be too disruptive for stable > kernels while we might want to have a simple enough fix for the the > suspend issue in the meantime. That was actually the primary reason I've > acked the hack even though I didn't like it. Do we care about failing sleep in stable? Does someone hit the issue there? This sounds like issue only Android is hitting, and they run very heavily patched kernels, far away from mainline or stable. > So can we find a way to shut the lockdep up when this is not really a > deadlock? Or maybe this really is one and then we need a real fix for > stable as well. Shutting up the lockdep is of course possible... =2E..but lets first see what good solution looks like. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlwFKy4ACgkQMOfwapXb+vIHmQCfax4puvNs55ec30fwpXKGZeXT ABkAoK2bf+R1El02tgKgtabd8QW7xWeP =QJyo -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/--