Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4701229pxa; Mon, 10 Aug 2020 16:11:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPOvmkmUsgrRNAOS6Ad2IeNy4dnAb67gnX5Qw0k+imReTQX/V1FsQFIPPzWXunoW/S9WtX X-Received: by 2002:a17:906:b213:: with SMTP id p19mr9033318ejz.39.1597101096008; Mon, 10 Aug 2020 16:11:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597101096; cv=none; d=google.com; s=arc-20160816; b=pZnRidQWOK5NnvM3RqTegKcmeB/ekHJOr1QXwFQ9uhn4FhfkRG7bv5iUsf7WB4B+wi 1+ku8UN+SlXjll6ya37XgxglE+fCYan/RuSGQ2p6v5z/RelaMj2oSx72ZuMenGaamEDv +ZYNyb+Uui8GyVgjmotwN2ig/Mmb3gsgA+ygo0Wlj127sefYlmJwFXlPRy6W6DUKLTcZ C0s7kuV7UjaeZ7RdipkcLyif5e6Gx6jfzJ8yaaEbRqlPdmDNshx6SsNCMjX3yAdAQ+VS NehjwsuWO+aajfx5fFBCoXr/dEb2oQMktRf/wrM+K70uJWuxbHzWacdYENa/eQK4JNX5 C13Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=9CMn1duAF4QIN5cSgF1isP4zEw+F/cx7Eq1mzk3zwaM=; b=fH/qUWCjNmcbO2YkTBf4eGXypY9xPR1gysRMXDlFxnqv7MR3OvyKNISu2Q5JGrrqmr 1KB96vS0QC0zcMYdPD2hHnTlTWHDaWDwoFNeDAXGeU9BJA7aJuRh2y7hQuRXLta9slFd 8PN0n1N4vUSLn9NV25FNlp431EF3wIUy+Og3ccFLJMGC3vAT9FvRjjQm+vm75tZjZy3M 3s4BsMeeZXd3QRw6qvxTN43KtWsLisle/h0P2yx8Sfby9zFlxewGMcLoSwC3gR8zF8dw LuL3Mp299AKunHnve6W2j2+AARFCo/lqfbpE33c4RQrbmx/tB75VY/XGd0lRrKOtEmwv RR+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=AAOiPPck; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w6si11201269edv.360.2020.08.10.16.10.52; Mon, 10 Aug 2020 16:11:35 -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; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=AAOiPPck; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727817AbgHJXEN (ORCPT + 99 others); Mon, 10 Aug 2020 19:04:13 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:44306 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726778AbgHJXEN (ORCPT ); Mon, 10 Aug 2020 19:04:13 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07AN3EBd121955; Mon, 10 Aug 2020 23:04:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=9CMn1duAF4QIN5cSgF1isP4zEw+F/cx7Eq1mzk3zwaM=; b=AAOiPPcksAbiMAPrXXTrkUfYxxxr06/wIxgInXmCGTDhumw6hr9L8LPkcONqBbB/FDFD wh72SqWBIVnQZMmkkOG5a+YLh/Gw5sKqIe/rYF2LworLvLqWeDTlsZfvhBfpBwp7Cm5u 7By/okFe0O4foLNJNwXE0NbXQU3U86WZqhHR+KEEf7BvUzEQinAQZAKG1KGs0/AWFzxZ 1m/sDLSu39eruJRKuO6uL60MvBWpdM2JRpDFPruGwtmRhpK94tnBwKbsT/UxKoctmk/u yUMPSUfJdfBneNEu9Xpy+etWAN6vS2mS79l2vIjXfhOxASa6QuXewuRiOOdGoozUCC/t cg== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 32sm0mhf83-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 10 Aug 2020 23:04:06 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07AMrTWE163715; Mon, 10 Aug 2020 23:02:05 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3030.oracle.com with ESMTP id 32t5mn9h13-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Aug 2020 23:02:05 +0000 Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 07AN24L0031707; Mon, 10 Aug 2020 23:02:05 GMT Received: from [192.168.2.112] (/50.38.35.18) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 10 Aug 2020 23:02:04 +0000 Subject: Re: [PATCH 09/10] mm/hugetlb: narrow the hugetlb_lock protection area during preparing huge page To: Wei Yang , akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20200807091251.12129-1-richard.weiyang@linux.alibaba.com> <20200807091251.12129-10-richard.weiyang@linux.alibaba.com> From: Mike Kravetz Message-ID: <1cbb6986-4939-641a-e803-bd75e6e2cf94@oracle.com> Date: Mon, 10 Aug 2020 16:02:03 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200807091251.12129-10-richard.weiyang@linux.alibaba.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9709 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 spamscore=0 mlxscore=0 adultscore=0 malwarescore=0 mlxlogscore=999 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008100157 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9709 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 clxscore=1015 suspectscore=0 mlxlogscore=999 priorityscore=1501 adultscore=0 impostorscore=0 spamscore=0 bulkscore=0 mlxscore=0 lowpriorityscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008100158 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/7/20 2:12 AM, Wei Yang wrote: > set_hugetlb_cgroup_[rsvd] just manipulate page local data, which is not > necessary to be protected by hugetlb_lock. > > Let's take this out. > > Signed-off-by: Wei Yang Thanks! Reviewed-by: Mike Kravetz -- Mike Kravetz