From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75B3AC43334 for ; Sat, 18 Jun 2022 00:23:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1383851AbiFRAXd (ORCPT ); Fri, 17 Jun 2022 20:23:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1383741AbiFRAXV (ORCPT ); Fri, 17 Jun 2022 20:23:21 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48E99193EC for ; Fri, 17 Jun 2022 17:23:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E9092B82BC5 for ; Sat, 18 Jun 2022 00:23:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D093C3411B; Sat, 18 Jun 2022 00:23:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1655511797; bh=boOYcCWS4dikNpyUU4qRuS9iiJRGhxU9Epcn4+r8HHY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=tMUqy2qF8GrCyvWIsrKoV++Je8osV39RUvp9XutD2Q6NrmK2mMSj7KypK+2gCWDA6 zyuQmID8ExnBce8qvhWt4YzdV8r0y4TEVOkZewgZXGwTo2vvNPH1hCy2yDpDmws9wC gjKLe3zjGj2DeJjXbLExfT62s1jhOyK6W0oiuThE= Date: Fri, 17 Jun 2022 17:23:16 -0700 From: Andrew Morton To: Miaohe Lin Cc: "Eric W. Biederman" , Ying Huang , , , , , , , , , , , Subject: Re: [PATCH v4 1/4] mm: reduce the rcu lock duration Message-Id: <20220617172316.de2d41877e86be344052b9f5@linux-foundation.org> In-Reply-To: References: <20220530113016.16663-1-linmiaohe@huawei.com> <20220530113016.16663-2-linmiaohe@huawei.com> <87bkvdfzvm.fsf@email.froward.int.ebiederm.org> <87y1yga1r2.fsf@email.froward.int.ebiederm.org> <87ilph90dx.fsf@email.froward.int.ebiederm.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 7 Jun 2022 17:19:53 +0800 Miaohe Lin wrote: > > > > > > If the checks are not made to guarantee they are all checking against > > the same mm, the code needs a comment to say that there is a tiny race. > > The comment should say we don't care about the tiny race because > > the worst that can happen is that a page is migrated to a different > > numa node. And so we don't care. > > > > > > I tend to do this one. To make sure, is the below code change what you suggest? Eric went quiet. As I understand it, any changes arising from this discussion can be done as a followup patch. So I'm planning on moving this 4-patch series into the non-rebasing mm-stable branch late next week.