Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp841428ybb; Wed, 1 Apr 2020 10:35:40 -0700 (PDT) X-Google-Smtp-Source: APiQypJ4W5JoDMggcAk2sDGVGX3S6Ed7JuAw++EqiuC0KR3ImgwIyI7isDk2e3FZhkxyRQNNMo8P X-Received: by 2002:aca:5403:: with SMTP id i3mr3772928oib.174.1585762540072; Wed, 01 Apr 2020 10:35:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585762540; cv=none; d=google.com; s=arc-20160816; b=N8HEaX688CJBZ6Qa3nACmpbVpHMMAbCWxqLIsEYlA86G6Wy1X+LXmUBCmAOPPdeKs+ q6ZY7NaH/JxrfSPKB/ai2EXklyWQUyW1VGDHfKjrZc2JEVO6DHeqvawePrneZhK6zBhg 7to0ZOXfC706qYZ079+KYLY1PyOUHzWJv9NwdlTB5rCVFOP8t5ZVAiXyY73HrVMEf6QZ ScAP+AQfgOO2WNfNWRHd3YZC7JfmoCrkcxvip6f3p26mwfkbxxj6cqbcBIYLtJ9Debt2 VR3NBCl5mDFCRmt7UGx8offWVsGTK86pJV0JO2L4pEJ3mUlJG9Mxxk5JTeWjC9E5mvrM PVuA== 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:dkim-signature; bh=QSpo2rWwvgOU28GQ7Bz4BpJhWkG9i7/4mOFtHSMz2wE=; b=VoHXRcjBywD85Cj4bZbRh7ogPm06m89p5Z8gASH2KMBBBohdiGF46VA5Rm0Au0rciN iFOliTife4MP9nxz9xIw2qNA1xJTBFpkTUlw2CygNzLAjkhdwHhLyjgji7NbB/ypcbKK 9T6Y6qJdZHHhzj5JRCRHy2kpv9X8yesa2f4C02477eVMs33LYZ/T6dLadBOQbkVpgX0e WAeEm6nxfLxwYVo0a3A55wLKDDH+0XkD5JIF+wBX40yoiuimbdANvqerzPSjnlCjv3J5 /TEIFP01XuMBtVHK0xkXoP40P9LNveqLts/v7/id9L8LCW+HvoXSg/lYTAo3MxeT+gFD tkPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=pSJmxzDk; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g7si1145518ots.270.2020.04.01.10.35.17; Wed, 01 Apr 2020 10:35:40 -0700 (PDT) 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; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=pSJmxzDk; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732723AbgDARNb (ORCPT + 99 others); Wed, 1 Apr 2020 13:13:31 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:38896 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726445AbgDARNb (ORCPT ); Wed, 1 Apr 2020 13:13:31 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 031H9btK006195; Wed, 1 Apr 2020 17:13:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2020-01-29; bh=QSpo2rWwvgOU28GQ7Bz4BpJhWkG9i7/4mOFtHSMz2wE=; b=pSJmxzDkZBIG8vBLJ6HQLYoLckpuC5Q+oCDKbWy9xpGR5QcrC381FuJSGevOv+UI0Czf Qcv2yZs2gWKPp0/UZ5fupBTr1+aMiLIJR3JEignjj+dqCCZLETum+y03muqbX1pVE8RB JRkrRqiBzbWDvTjIFPybafgABnqGH6mKLvAdSuvPkWn/lsneV/3c4BjdsA+VoRb7uE68 r/6qKbEXFMXBmFPsAxydXnAQhXMDLQD9BslLdivlyfy2oQUSkchMrVlc0WaliewXoxyt 03+Kg/WR4O6lCoz5rNiLPxjXf3yc27Oz2v7QdEtxFsityVIcXhYDYC1kPEcUdPeDwSbY dg== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 303cev6rd6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 01 Apr 2020 17:13:15 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 031H7BQG103658; Wed, 1 Apr 2020 17:13:15 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 304sjkvjk8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 01 Apr 2020 17:13:14 +0000 Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 031HDBEB010071; Wed, 1 Apr 2020 17:13:11 GMT Received: from ca-dmjordan1.us.oracle.com (/10.211.9.48) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 01 Apr 2020 10:13:11 -0700 Date: Wed, 1 Apr 2020 13:13:31 -0400 From: Daniel Jordan To: Pavel Tatashin Cc: Michal Hocko , Daniel Jordan , Vlastimil Babka , David Hildenbrand , Shile Zhang , Andrew Morton , Kirill Tkhai , linux-mm , LKML Subject: Re: [PATCH v3] mm: fix tick timer stall during deferred page init Message-ID: <20200401171331.26v6th25ezhixwpt@ca-dmjordan1.us.oracle.com> References: <20200401154217.GQ22681@dhcp22.suse.cz> <20200401160048.GU22681@dhcp22.suse.cz> <20200401160929.jwekhr24tb44odea@ca-dmjordan1.us.oracle.com> <20200401161243.GW22681@dhcp22.suse.cz> <20200401161810.xvqikca2x46yqrlx@ca-dmjordan1.us.oracle.com> <20200401162655.GX22681@dhcp22.suse.cz> <20200401164654.GY22681@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9578 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 adultscore=0 mlxscore=0 malwarescore=0 phishscore=0 suspectscore=0 mlxlogscore=616 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004010146 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9578 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 adultscore=0 clxscore=1011 phishscore=0 lowpriorityscore=0 spamscore=0 malwarescore=0 suspectscore=0 mlxscore=0 impostorscore=0 mlxlogscore=663 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004010146 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 01, 2020 at 12:51:56PM -0400, Pavel Tatashin wrote: > > > I do not remember seeing any real failures, this was a theoretical > > > window. So, we could potentially simply remove these locks until we > > > see a real boot failure in some interrupt thread. The allocation has > > > to be rather large as well. > > > > Yes please! We are really great at over complicating and over > > engineering stuff based on theoretical issues and build on top of that > > and make the code even more complex because nobody dares to re-evaluate > > and so on. > > I will submit a patch (or revert) whichever is cleaner. I had thought people would be concerned about that window. I believe the quote from the time it was being discussed was "rare failures suck." They very much do :) but in this case I think any failure would be relatively easy to diagnose. So great, simpler is always better, and I'll wait for what you send, Pasha. Alternatively, if you won't be able to get to it for a while, I can write it up, having thoroughly paged all this in over the past week.