Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1481693pxa; Fri, 28 Aug 2020 13:56:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5nyARF2vFKVDnKP/KqgU5TOHO7kuAZwUrrdcRydvCq2nKZz5JakLnwpBu2lJbJXfGxUYO X-Received: by 2002:a17:906:7856:: with SMTP id p22mr591913ejm.262.1598648162196; Fri, 28 Aug 2020 13:56:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598648162; cv=none; d=google.com; s=arc-20160816; b=TqvvXHCQijU6m37x0WByWAprC3LexewDXzJHLpYfF9co/O51HVwSPNIanRXtaZhM13 rhwLXbhPrK/BFjfy0uWpKdIgIaUSuCjAUVG2LHNoLoO1bVJTzUwd40TFMqLmhpBzjaQd PW/l2iU2hk341gOiPQjU2S3e2B//7YQC6XLQP34IPZoOvpC0ztc6u0PysYquT02++ON4 Aa9pbr+GS8KaIH66ZzsqZ/twJEd6/j7z/AFiNVTZY1J3iIhAanrutBjUezUgiJRxDPoa yC43qrDqky36f7MX+ucH/vyfyAjHKHGe61wnC8/Bmr4+QnDztaD+N4a4urXUjXFfAl/6 oHMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=LXVxuNUXgjjnaZsY/ocbMwmfZoqTH2ObUyr8mhumf2w=; b=XBzYkPVgMhRsIIp2FBwPK9s8B6+s308r6yWUDqbUSUjcTRbHKQvNDSUAXBVrbW3eej ytqCdeU3QptuLElQCKS92ndX/rr3lhqfLKGrB4UDmXQI+tYig2lmWw2ci4JU2D9xFR87 wZeDxxfkrf891mNpXuqA0ZdAiceY4TGHFtWDWS5wokkMA59YY9IRs6NUR8Qt4eRhLcfj D9b3p4mrI6ACzSRpVNWZ0INU7P8qByodng9TbfwqyORt9AmqS6DL/ePpXC1Sg27P7sgE y0bJRMOAJQ32g84OcJF+/ty8adUtrB1zlv3o6Xlh6J84CY8dEUjbWpAjOu+vCxofE5Jw rM+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g17si180927edq.44.2020.08.28.13.55.39; Fri, 28 Aug 2020 13:56:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726626AbgH1Ux4 (ORCPT + 99 others); Fri, 28 Aug 2020 16:53:56 -0400 Received: from mga18.intel.com ([134.134.136.126]:11098 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725979AbgH1Uxy (ORCPT ); Fri, 28 Aug 2020 16:53:54 -0400 IronPort-SDR: wSvcNr0FwoSG2zCc7unEEvrJ3qZGByctjsLP3yQR96fc4QjW+nV4axF25hW8gT+hpp2idiBiCq Es3z1Q02n43A== X-IronPort-AV: E=McAfee;i="6000,8403,9727"; a="144423368" X-IronPort-AV: E=Sophos;i="5.76,365,1592895600"; d="scan'208";a="144423368" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Aug 2020 13:53:54 -0700 IronPort-SDR: /OCPrcZkRiHahOLjQ8MnMDVN9cT2EI/iOS5XT0iMuitLHFQIcMIfg4Ju0VrihGCnZq0S65Jl+S pW8RKe4vlt2g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,365,1592895600"; d="scan'208";a="330060605" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.21]) by orsmga008.jf.intel.com with ESMTP; 28 Aug 2020 13:53:54 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id 096E3301C54; Fri, 28 Aug 2020 13:30:34 -0700 (PDT) Date: Fri, 28 Aug 2020 13:30:33 -0700 From: Andi Kleen To: Mike Kravetz Cc: Muchun Song , akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] mm/hugetlb: Fix a race between hugetlb sysctl handlers Message-ID: <20200828203033.GT1509399@tassilo.jf.intel.com> References: <20200828031146.43035-1-songmuchun@bytedance.com> <20200828145950.GS1509399@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 28, 2020 at 10:14:16AM -0700, Mike Kravetz wrote: > On 8/28/20 7:59 AM, Andi Kleen wrote: > >> Fixes: e5ff215941d5 ("hugetlb: multiple hstates for multiple page sizes") > > > > I believe the Fixes line is still not correct. The original patch > > didn't have that problem. Please identify which patch added > > the problematic code. > > Hi Andi, > > I agree with Muchun's assessment that the issue was caused by e5ff215941d5. > Why? Yes when checking the code again I agree. It was introduced with that patch. Patches look ok to me now. -Andi