Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7001626imu; Mon, 3 Dec 2018 06:17:38 -0800 (PST) X-Google-Smtp-Source: AFSGD/XC1yezQQPI8EuGNK5ORIB0/kWNRMfnCgS1mQj7M5PPYE7pn5gM5lT6XCfh83TX7503cWmJ X-Received: by 2002:a17:902:8a91:: with SMTP id p17mr16100767plo.316.1543846658340; Mon, 03 Dec 2018 06:17:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543846658; cv=none; d=google.com; s=arc-20160816; b=jiLZHqqCELph8QPLwl+MOY9Qiypu/0COgYB1abHrrT/CcQXz35JVMSKxEWXRFKNyOV TlPRAxb8CTXXWx2aWUgFinpwIjdSNJep0ZpNFlf71qtC5Ccj/KMf2/ajM+TKevmT7PiD ezZPM51TkDAxxGwJb3VqXZEhFjbfPr+Q7wkFdf/2bJtnW58zn9Vudm6FCd4PySFekvvn F6ng3+8zmvi/P9vQ1c3YORa67WBrEFbHcNm9JjcuuknXpTRiMQKpW0nDgUpZXs1UMO3o d+rkArnFmkC+qFYgTOFlD6w5x3qrklmukycwXPGn9ZTQediE38CyNt40z0IRy6/bo+0E AkfQ== 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=Ma580dxZ4ZvVJLQI/DKzwPljBbT91E4NxE3VBvBoBIU=; b=wCz1W2nn9K00k8zGV9FAf1i5OIAm59GhuRyljla3VJHbpN7J6J+RVoN3NirbIBLoKa eP4E6ocgKOggWJTsaAxwiEHhD74s/m6VJQl7srCSUHD69wosImGznwR1YJhx8J+ixhoX NVwYLfDSr6XVK011EY0Z8zaueIA2Di3U+hqD0tie36IQSeTQanB5yCq4lH1gk214RmWe VO2ipi1jrIrBJa3H3ueYh0H3N84xCdDAg/nfzwnf1pSBF5opIATrR0/J0NnL2L6Ip2Z+ sSreFpAqXVw0hNOtaIH/5vLP8x2rmsHtVY+90Ee9rE/ZQlEsE+5T6NRIio/LQngtQgsV uwTg== 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 37si13953624plq.210.2018.12.03.06.16.59; Mon, 03 Dec 2018 06:17:38 -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 S1726613AbeLCOQM (ORCPT + 99 others); Mon, 3 Dec 2018 09:16:12 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:47972 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725914AbeLCOQM (ORCPT ); Mon, 3 Dec 2018 09:16:12 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 99586808C3; Mon, 3 Dec 2018 15:14:56 +0100 (CET) Date: Mon, 3 Dec 2018 15:14:59 +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: <20181203141459.GA14789@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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline In-Reply-To: <20181203135351.GU31738@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 --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 really ol= d and > > > > > we haven't seen many bug reports about failing suspend yet. But w= hat 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 reco= nsider > > > > 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. > >=20 > > Do we care about failing sleep in stable? Does someone hit the issue th= ere? > >=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 ;) In general, yes. In practice, if it happens 1 in 1000000 suspends, you don't care that much (but Android cares). Do we actually have reports of this happening for people outside Android? Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlwFOmMACgkQMOfwapXb+vLGTACfcZyO3CqVTCgUTZVV4va4hWn6 mYMAoLkKgLmCVTi8Mpcwf00tuYllE1dK =FubS -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J--