Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3366222pxj; Tue, 1 Jun 2021 03:45:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlt6IE0hIT4fjVGBmAPH/m5d40O7dZJFC28PKrEIxS7kNauraJD5AXdHd4WNVqUH1KJ3rt X-Received: by 2002:a17:906:c833:: with SMTP id dd19mr16415452ejb.255.1622544311330; Tue, 01 Jun 2021 03:45:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622544311; cv=none; d=google.com; s=arc-20160816; b=hYX3iwKK3pOkEiRc8FIeqoPTENJWi7iIjAizJmx7Xsa86EkUotYFQ4vDzt657dImix d50opouzQL7qOGCjoYQHzLGYnep+fT4LwS+AaLB0vi/2gzym/M0h3iGxWLUwabtX4OxB xYcSjh/TyYp/j6DHlPCVX15Hl/lc+VmjYU3YuwVNbuUDnqVpYAD9ucLqcL/aZv2Ro/oQ XE4UKKumi77cO78plUCqZTXBBFt5ef6a6VZw6xRgjgPXcx3DaosR19fBPbxIhyEg1zBF 2zEFnlJWQoAfGixJBV0kl3OtAhDzTGPu3Lw3DvrhAvqITXwpTxX7m+wc+OdjnJWS3CKY U41A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Gx79InivmVewarDJyyMOVuflbWM4unS5ErB5h13b2Lw=; b=MWnOM9UiJR1snO9w42XejMRjJHG1ySzGtl1JVpWUS8mAwqklT+JirVOfsGRXOmRTy/ vleOK3Gk/6zn1FM03fnZWgKvmx/9C2KtTU7Vlr+LQj+l/Tsz5Cy2BvCVVDZJY4g9l4qZ jc6EeR8nKK0tByILANhnTP+G4TgFvAB8KxA5K+ctr9ye6JoePmW/Yi2QBWjF5vVQwTKS mvlirq9Gku4f8xLf0I0E2nfSDvav8DDCSgaWiw3MqVEerph6i21Q8ZdeEKI73nUBC83D afVl6dhFM14O8uqkbStcBpn0iLXJbM1tKzw4Nlnm/WPir1D2/6qSjnp+bLVJqV+JmAK4 YqBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=gB+WLL32; 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 y12si2758646ejc.650.2021.06.01.03.44.47; Tue, 01 Jun 2021 03:45:11 -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=gB+WLL32; 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 S233072AbhFAKpg (ORCPT + 99 others); Tue, 1 Jun 2021 06:45:36 -0400 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:56778 "EHLO mx0a-00069f02.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230282AbhFAKpg (ORCPT ); Tue, 1 Jun 2021 06:45:36 -0400 Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 151Ag0uY029859; Tue, 1 Jun 2021 10:43:50 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=Gx79InivmVewarDJyyMOVuflbWM4unS5ErB5h13b2Lw=; b=gB+WLL32hgD4VzXFy1XC5N3VAJUPyY2GBN9nXi8S5ZZozIwng/PV/N7iipnoRHupUwiV gsxJ+5FZCfCnHYsnfh2h4Aos8UtQq7xVY83znarvvFf6Bhi1T7HdmeFik4ceTdLBkPIz w0EvYCpC1lbFNCoHJ3dYCNo1eT5n6fM7mGhpqgpd9cgXfScdXPCZQbKbMSC2RV12NgzO zJ23bzCAquQslCy6ONKWuw3hkOAnmieS8T3i/wQTM8FXWARfQ38FzPny/Z/mKF7FIe7f 2Gms6P/aMqcWuVn5faE2SS30+WquZyIwySlx6sIKDNSt2pNKxFLHuO7t3ejfUTkdPi1N GA== Received: from oracle.com (aserp3030.oracle.com [141.146.126.71]) by mx0b-00069f02.pphosted.com with ESMTP id 38vjar0js1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 01 Jun 2021 10:43:49 +0000 Received: from aserp3030.oracle.com (aserp3030.oracle.com [127.0.0.1]) by pps.podrdrct (8.16.0.36/8.16.0.36) with SMTP id 151AhmAG003720; Tue, 1 Jun 2021 10:43:48 GMT Received: from pps.reinject (localhost [127.0.0.1]) by aserp3030.oracle.com with ESMTP id 38ubnd3n98-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 01 Jun 2021 10:43:48 +0000 Received: from aserp3030.oracle.com (aserp3030.oracle.com [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 151AhmgW003708; Tue, 1 Jun 2021 10:43:48 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3030.oracle.com with ESMTP id 38ubnd3n92-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 01 Jun 2021 10:43:48 +0000 Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 151AhkJL013285; Tue, 1 Jun 2021 10:43:46 GMT Received: from kadam (/41.212.42.34) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 01 Jun 2021 03:43:46 -0700 Date: Tue, 1 Jun 2021 13:43:37 +0300 From: Dan Carpenter To: Mel Gorman Cc: Andrew Morton , Yang Shi , linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] mm: thp: fix a double unlock bug Message-ID: <20210601104337.GX1955@kadam> References: <20210601100849.GQ3672@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210601100849.GQ3672@suse.de> User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-ORIG-GUID: Qpm2tEc2qMH89MRHSfhoULSDgCa0t8Yn X-Proofpoint-GUID: Qpm2tEc2qMH89MRHSfhoULSDgCa0t8Yn Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 01, 2021 at 11:08:49AM +0100, Mel Gorman wrote: > On Tue, Jun 01, 2021 at 12:24:09PM +0300, Dan Carpenter wrote: > > We're supposed to be holding the "vmf->ptl" spin_lock when we goto > > out_map. The lock is dropped after if finishes cleaning up. > > > > Fixes: 9aff7b33c74a ("mm: thp: refactor NUMA fault handling") > > Signed-off-by: Dan Carpenter > > Ouch. > > Acked-by: Mel Gorman > > However, that git commit is not stable. Instead of Fixes: I would > suggest renaming the patch to "mm: thp: refactor NUMA fault handling > -fix" and replacing Fixes with "This patch is a fix to the mmotm patch > mm-thp-refactor-numa-fault-handling.patch". Andrew usually slots that > into the correct place in his quilt series and collapses the fixes before > sending to Linus which works better with bisection. I know that these normally get folded in, but I assumed that Andrew would want the Fixes tag so that he could fold them in automatically using a mutt alias. #OneClickShopping regards, dan carpenter