Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3344117pxj; Tue, 1 Jun 2021 03:10:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdshkMpv3M0htany8a1mz+ZJQnoRvfrBNN+li8OEdzfSPoyNB6MdSKOf3wLzZYDoGAhX43 X-Received: by 2002:aa7:c9cf:: with SMTP id i15mr30499486edt.118.1622542250596; Tue, 01 Jun 2021 03:10:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622542250; cv=none; d=google.com; s=arc-20160816; b=z2Wsv0xm0UVZy9CckcF5N8c2N7Qp/6It4EIet9FJKNog+QvaWVe5CJPy6SoGJpSm88 2HfpLdtP5+ZFdIHWqguz1RBfsLS5pgl/I2/l1WZ0HAgtI0z03IXZ3sFzZCc+9F85jm60 x5zgP+5nTFtw9FOf6H8+F2zWhaDfPAiFTGTlMjJK0ljVCyIzunAG4/ud1rPSyqD0fZE0 gFrNtj/c7pAOUDPip2HfJdoumY1aogndfU0JtLFRwWs+jWJKXDrM1JxmDFbvUqYbg8qL ocP4tp34KmFcCSQSik2+DHTY9pFSh+2Q2qqoEQ4sd6ss3aU0w93kwkahZmK30h7GInac lb/g== 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:dkim-signature; bh=k20dQdDrZBQgdj1Stp+JsXCNuIAKAaJIRdQZLUfTaAo=; b=zDLutUFnQIWhi/JLPX2F00RF29jCQHXppfaYYi357U9cQwX+ZYm2NpfC1Xu1gz6nbB Ex7wGedb2+MCVoGBGcc8hc1rqZ6U9FHzs9uMpgnKymPXeNL+h5lefmJDdWCe8x2NST4V g4Yotb2Wt6HNWE7kKqwgBCinx4gLc0CYKFHNSiC4/zmobdzo/eKm3MklgCswNwWRiax8 IHj8Tmy73loMkmi+twCaHmaMGEqkRVfAm+G7AJVF58sEAu9HgqYES6/gik8aO4OCHuob gb8D3wvgb/rxipVW0ePzc9n7Iuyk67pAAi/2dFNrJ0mVzXIM0yci/1+vejy8kacvQkVg nvXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Bu6hV+Se; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="9dm/f41x"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i9si13559609edc.456.2021.06.01.03.10.28; Tue, 01 Jun 2021 03:10:50 -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=@suse.de header.s=susede2_rsa header.b=Bu6hV+Se; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="9dm/f41x"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229538AbhFAKKg (ORCPT + 99 others); Tue, 1 Jun 2021 06:10:36 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:59028 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232046AbhFAKKd (ORCPT ); Tue, 1 Jun 2021 06:10:33 -0400 Received: from relay2.suse.de (unknown [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 306761FD2D; Tue, 1 Jun 2021 10:08:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1622542131; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=k20dQdDrZBQgdj1Stp+JsXCNuIAKAaJIRdQZLUfTaAo=; b=Bu6hV+SeLHNwiCFRzZ7zKG26Zb0NRoFtZhLV1AiOsEMgkZxZYjyg1oOTNIoxzE/XjJA+NQ 2Wf7h6snU8rYo7QS45aiMHbRT/2QsyZECrbPis//NbHcs/gsjqloT4R9t+KnPB8ZZ7O6ry FBs9PqrxkLpxRpyPnmqDi8yUbe7FCiM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1622542131; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=k20dQdDrZBQgdj1Stp+JsXCNuIAKAaJIRdQZLUfTaAo=; b=9dm/f41xQT3PueXGRTr+xM3bqSRlwZfCVWcjS5Lt6Z37VnybA+4DF7LPuGrdACo4U8D8p9 yqr58su+MEkx7dBg== Received: from suse.de (unknown [10.163.43.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id C9700A3B87; Tue, 1 Jun 2021 10:08:50 +0000 (UTC) Date: Tue, 1 Jun 2021 11:08:49 +0100 From: Mel Gorman To: Dan Carpenter 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: <20210601100849.GQ3672@suse.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Mel Gorman SUSE Labs