Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6973604imu; Mon, 3 Dec 2018 05:54:52 -0800 (PST) X-Google-Smtp-Source: AFSGD/VJeY0HRRMT47PWrukRSuhLNQGmjcx7x2lKXOkGKUI5wBq0vHPGp8PrCGCRtW5pfme19AR3 X-Received: by 2002:a65:4381:: with SMTP id m1mr13089166pgp.358.1543845292116; Mon, 03 Dec 2018 05:54:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543845292; cv=none; d=google.com; s=arc-20160816; b=CbRGBSD5LT9DNwJ2/eDrlSSVLBhyMId8M/p9Eb1YAZXOcRnxJkcagkakNgVjo8Eoxt 0S8/jzm7JNiF3mCEYO6eI6pQ31BnHHCCbkXX3WlNyJ5ZhQBGapZ4jwgaSv3RDN+Zurxq UeDPIqYIOqGirgug++YOa5mckGc9GdiLTaLqHZokdcsfTsbQbFv+goslvJZ3UtD9tJfC 9EyPWXOLEf4Ch+nsmsHla5cnic5BpLJIoUYiuYMDit/z+HwHVDnw26FRyvdGMwoNeP5h M9pCdrTkAVNuOCJk9hC4mZN10PTD2wzsp+eovU3/4RF/73P24/wgDbGECHwVNGAbHCn4 Rt8A== 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=p7K1+j7iAOUnPdgdUCVIMcuJIAaw2idvcfi0JF1F8+s=; b=k3UagVjtFWiwXhWxzHwZeImutRyhEeEqqblGk2BcC1AkKsqNM10/ZLul2nhpmy+/+N T6rULz6gY9QiQElLoAviDoblLoBmVSsDjd6iKE0pXAL6+7qNPy2iogBBA3nurW7o/7LJ pbJn0EvDsJBfvO/MRtRzhLnPryv1W6riHxxCEap4ivP8si/cJT/4h1N4Vs5vAZD1KUF9 RTPb3hz8H0+0Qc0Qh6jRCv4sYyKfG2XtHKsV1ImzTEhO2xHIcl19M2c0Q4QshZ/L5vr3 hnYeKcAzKCGILDxj96h/TgpXcYqXnBsZs9LAtA+uxlMw0swRsARX0MWBBOAPkpUtbe0/ iVag== 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 t13si12876196pga.102.2018.12.03.05.54.35; Mon, 03 Dec 2018 05:54: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 S1726180AbeLCNzB (ORCPT + 99 others); Mon, 3 Dec 2018 08:55:01 -0500 Received: from mx2.suse.de ([195.135.220.15]:52886 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725914AbeLCNzB (ORCPT ); Mon, 3 Dec 2018 08:55:01 -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 58253AC1F; Mon, 3 Dec 2018 13:53:53 +0000 (UTC) Date: Mon, 3 Dec 2018 14:53:51 +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: <20181203135351.GU31738@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181203131006.GA10054@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 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 ;) -- Michal Hocko SUSE Labs