Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7003041imu; Mon, 3 Dec 2018 06:18:52 -0800 (PST) X-Google-Smtp-Source: AFSGD/X9nz5THFKrO03tSs1bVT9dn79OsNa6eCU94fHyhkt+6B5zHRADeOdqqlqX4D58cWJIE8OU X-Received: by 2002:a62:7f94:: with SMTP id a142mr16218018pfd.96.1543846732057; Mon, 03 Dec 2018 06:18:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543846732; cv=none; d=google.com; s=arc-20160816; b=qwhUqqGm+J/HHQAtOXmErhXf0ii2d1SJqE3RBqhv89wmkqaGVUiu9YG3hXwRkc7kcZ sw8553y0LZAjSj1/cOfqFaOSYqRGrkC1ApuAAPEB8itavshK1R1L9r2piPiexEDUHc1C HzZhOcaPTkm576O2py7KMJlGAsziSPgEIZSAFlVjV6gqyw6zgHxhHMi3HO1jsqArr5AM QSYGkmRrTgMsseN+lEX6E2HW9tVTe7ZZvQbm5wmMve53sDVpsEvf6wctGbs2T9OfWSeH iqiZu9v3RkKNYoRB3eZ7flU/QrfXJiNc6A6YNat8jFN1j+nNaPr2X54x0ekCrHomRQP5 FzFw== 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=8Sz0ZpE/fYKYcVhlIYSQcn/rZGxhPmjWX6pZV0XUwl4=; b=ntpUDvSN27KViJcqNP6ghTNJFpM+c2wAYf4jBgl8u81jM+WgEPSloudCjuKPQWUDn+ rJ//51gdgV+ky1DYHwDczyyPBpq9m0yHtHYdbMWrov/uiKEiPfxApnCRM2mtbWQWO1UN jPvOUAGd0k5YndyPNJSot8bXtSel2A7cS4K/46q1TWZzH8wtvKf4yu3MQTHbieqxY+PR IP4VcfSKli/W+zJPvEDF9oENA9pbGI2ePrSIMlH7J2sDujyEK/E7OxX3SL5CJrR28cAL Wl9dIX/vS97DCIE0I5FHFfXkVA5P7mTbPR77J8tNv6TMbcFzqPyjZHtAPfhjeExClGdA LmQA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h3si12709945pgl.468.2018.12.03.06.18.37; Mon, 03 Dec 2018 06:18:52 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726615AbeLCOSu (ORCPT + 99 others); Mon, 3 Dec 2018 09:18:50 -0500 Received: from mx2.suse.de ([195.135.220.15]:57226 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725914AbeLCOSu (ORCPT ); Mon, 3 Dec 2018 09:18:50 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 78A6BAD48; Mon, 3 Dec 2018 14:17:38 +0000 (UTC) Date: Mon, 3 Dec 2018 15:17:37 +0100 From: Michal Hocko To: Pavel Machek 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: <20181203141737.GY31738@dhcp22.suse.cz> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181203141459.GA14789@amd> 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 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 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? > > > > > > > > > > I don't see a simple solution... > > > > > > > > > > But we need to fix exec/de_thread anyway, then we can probably reconsider > > > > > this patch. > > > > > > > > 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. > > > > 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). This argument just doesn't make any sense. Rare bugs are maybe even more 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? > Do we actually have reports of this happening for people outside > Android? Not that I am aware of. -- Michal Hocko SUSE Labs