Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9777216rwl; Wed, 11 Jan 2023 09:48:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXvUQGYsA3OncgI/3KAUHl0ASJHkoJngIRY1rYyiny6EF8zVl9b0cvU5Lf1tWQ5cWkC9f8fC X-Received: by 2002:a17:902:e152:b0:193:3de:b777 with SMTP id d18-20020a170902e15200b0019303deb777mr19968898pla.43.1673459286032; Wed, 11 Jan 2023 09:48:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673459286; cv=none; d=google.com; s=arc-20160816; b=OLQxJRSxB3eZHwsBbDEPiMgnxzOTrWL72O8sES0PXHbwgHvXaAHALgZ4xZ18uOvz7f 6grFn9vo0xJJXvUTOkawBxVpOARcC/rINYuzo5Mryw/Val7axHfS9qTzN05Gw0HMJ+zE ey6GM9emfZ+Yj5Hl/nCC+RhP5S01M+7BtMFWpPbbqtMbkdfPUulAvu0/1dnvQx2jtGNT C7Q3cHNaFA6sumuixCA7pE6gTONQOBlrqOOCLwJSoJEYnBAbScRsVqKeHyb6PUgJ2U5W k+0fcbQ1MUAh+3WZLP8zg9EW0D+y+HrhLzEt2MtotnjZFh0Ev+v2OWfzoojReK89h4K2 D9Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=CQuivU7tA0j3DaNAmzqNs9rVsYSc4Mupj7zmuVm1L2o=; b=w4QBWSJ5VpKOR0cX8wFTTxTZJdUEIwOrh5Xe3wvtdX9OdXemkKKZb9uFlUsfCgQX4B Peggvs9dbK58UdjNoB2LoUeGUu9uuLTGMeqxpdpwuhoNuhSPDI4O+L8en5XVGJ79kdBl AwwLiq8S8I+Sg1XBEfATRbgLalUT8M16jFz/UQ+EiqS9FxSnz93/ocm1ASpYOBLmukGq qzsUBUmlZ4sKG8ZNZy/lpkYZuJ/cnXwe/rQ/XM4UUdfkYHZEy3OAIwm3tp/Sthbn8otH Z7EXgtsP3jwy1HT5j0S3C3wtwJdrU4KBTiLGwsEDzP35vG+IMThQ+cC05wmaDrZO6AH0 LvxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=m3BZA3J4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 79-20020a630252000000b004792f347556si16047785pgc.623.2023.01.11.09.47.59; Wed, 11 Jan 2023 09:48:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=m3BZA3J4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234376AbjAKRjQ (ORCPT + 53 others); Wed, 11 Jan 2023 12:39:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239124AbjAKRiV (ORCPT ); Wed, 11 Jan 2023 12:38:21 -0500 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54D4C35904 for ; Wed, 11 Jan 2023 09:36:30 -0800 (PST) Received: by mail-yb1-xb2c.google.com with SMTP id c82so8516817ybf.6 for ; Wed, 11 Jan 2023 09:36:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=CQuivU7tA0j3DaNAmzqNs9rVsYSc4Mupj7zmuVm1L2o=; b=m3BZA3J4ZDneq6BFTfRM2gL1L4TzJkzZOzLkrvkS58q1KA44AHRGMd50Xie04FdSP5 ojeEczPNFUxQ8YDewDrL6S+zSFr+J7b3WSZR6SU4R/rQUW5w74iF88c+IGSasO7abH6x kifnVki9SZyc566UQCoj/h1X1S6XVKHiRSX+hJNcIcjOUfGQyg0AAlE1S431lzUcReH9 pnlPtplxp3n3x6AHBNd/qXxJZB1e58S2YVcFpCH5c2ODpBlgO9Js9SsygmS+jmKpjcNF dpG26zkfpK05TRuZ7K9wuE+i/35iSDZLI/+icLhqN/LeSRAY13ir4w4LZ2tyGVeyUPRp 9Fzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CQuivU7tA0j3DaNAmzqNs9rVsYSc4Mupj7zmuVm1L2o=; b=Ck2uOXX+mmmEPu7UFJifsKQYTwjkNBKnPHWeozQLt4sK0DMDbnuAABGXyMt1WSa8wO i/M4YvDKo+UK9GBByZYpMCYOQOfjEEq9Fgqu+WJlB/ULYXhG/a1CuFPXWyt3KTpQvwyl npfoP7mFt60ym7YqV/RhAWeg/HT9e8P3NHrQlppUa4x98J+pots2yoh62D69C4pvzozO sWji+tycjbpC4PzoFeG1ooZnHuYS4alMelfuENleRV0zH5XMllY2Ahgj+6+Er+qmRpkd N8LGssizhOmiEebwPxZySeEz7S4bfJIoN6LhdeY90KcJzErap9btUGlZHZTZuyjUgQv3 Zx2A== X-Gm-Message-State: AFqh2kpb4Y+Hqjt9n0maWnk6Q6DT9LxnUDVm0MKjDzbM5x/xouYSyTKu ggtKgjEmA9zxdWyPnDfMrOc5I3TkwzUOKV8rDO89EQ== X-Received: by 2002:a25:1388:0:b0:7b8:6d00:ef23 with SMTP id 130-20020a251388000000b007b86d00ef23mr2139487ybt.119.1673458589236; Wed, 11 Jan 2023 09:36:29 -0800 (PST) MIME-Version: 1.0 References: <20230109205336.3665937-1-surenb@google.com> <20230109205336.3665937-14-surenb@google.com> <20230111154726.stadwtzicabwh5u5@offworld> In-Reply-To: <20230111154726.stadwtzicabwh5u5@offworld> From: Suren Baghdasaryan Date: Wed, 11 Jan 2023 09:36:18 -0800 Message-ID: Subject: Re: [PATCH 13/41] mm: introduce vma->vm_flags modifier functions To: Suren Baghdasaryan , akpm@linux-foundation.org, michel@lespinasse.org, jglisse@google.com, mhocko@suse.com, vbabka@suse.cz, hannes@cmpxchg.org, mgorman@techsingularity.net, willy@infradead.org, liam.howlett@oracle.com, peterz@infradead.org, ldufour@linux.ibm.com, laurent.dufour@fr.ibm.com, paulmck@kernel.org, luto@kernel.org, songliubraving@fb.com, peterx@redhat.com, david@redhat.com, dhowells@redhat.com, hughd@google.com, bigeasy@linutronix.de, kent.overstreet@linux.dev, punit.agrawal@bytedance.com, lstoakes@gmail.com, peterjung1337@gmail.com, rientjes@google.com, axelrasmussen@google.com, joelaf@google.com, minchan@google.com, jannh@google.com, shakeelb@google.com, tatashin@google.com, edumazet@google.com, gthelen@google.com, gurua@google.com, arjunroy@google.com, soheil@google.com, hughlynch@google.com, leewalsh@google.com, posk@google.com, linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, x86@kernel.org, linux-kernel@vger.kernel.org, kernel-team@android.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 11, 2023 at 8:13 AM Davidlohr Bueso wrote: > > On Mon, 09 Jan 2023, Suren Baghdasaryan wrote: > > >To keep vma locking correctness when vm_flags are modified, add modifier > >functions to be used whenever flags are updated. > > How about moving this patch and the ones that follow out of this series, > into a preliminary patchset? It would reduce the amount of noise in the > per-vma lock changes, which would then only be adding the needed > vma_write_lock()ing. How about moving those prerequisite patches to the beginning of the patchset (before maple_tree RCU changes)? I feel like they do belong in the patchset because as a standalone patchset it would be unclear why I'm adding all these accessor functions and introducing this churn. Would that be acceptable? > > Thanks, > Davidlohr > > -- > To unsubscribe from this group and stop receiving emails from it, send an email to kernel-team+unsubscribe@android.com. >