Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9700468rwl; Wed, 11 Jan 2023 08:53:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXs72bhluoLpiIf2c8WCPYCyU7h+thWPKdtjogcjtbmsVAYHZutaWm/I7t0vdzWfnvLE7AEY X-Received: by 2002:a05:6a20:e61b:b0:af:7ed7:d370 with SMTP id my27-20020a056a20e61b00b000af7ed7d370mr81038047pzb.43.1673456019386; Wed, 11 Jan 2023 08:53:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673456019; cv=none; d=google.com; s=arc-20160816; b=q9Naljl+JTxb2SMCZnU3nxtXIMbAcbR5w5ImeyOw3UclaQyCLkehVkgPQemVIo+fr8 zBui/SX5QlXQued/gbnZyRQQC+oEih1OHlaekAG2LnEeioZvQOG648ziQHV1lqc0xvJO W5R5ecVDNCNdrOC/nSZbysc18BDr6JLbOxH7MUM3cwUyBqpi0UnWgauhNMF9TF+Ga+Gj H9uCvazO2ASFTqpbpg8dbux0ycoBFWalnFnNE9OcJ/+cCDZx6ukFyIzVoqjrEzVz7zGS HBxgKEJiVQU44bHLTWRm/V2SC9sS69F9Zxdyy82QTAKukR4hbA3+86iSunBQri1JdIoz 3Suw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+lGYOpDp4bNuKnxJ8tlVYLr+bl6xRPelNh0S14fBeXs=; b=YUgHr5Tc2Vp91T5rk1BMDSa15R5rN1NvmGDOFHzNF24nawhcfS8EPc5xzkDF2dza01 M/v/oAA+bTrtQDMLvr/sELvtmgkoOjSMtBCJdGiLShkE7ARB2Edb+BxaKq5p5o6T3gab Q43XSD4gFffAHgmYUr2wk5TiMzLlclBFqy7lnqZJ4qPTdKOZA+AGLnnUlGQuTs8hWrfZ jjIubXpWe7uf7nSALAzdse/34Ge9+dYfUu7WFBJj+gldbIWrjnRpoGxGdX98U6S9YCof sDiWvXFKM36XkePskJmspMSFPQC2bopg8K4NEiQOIJDACxd8+2PdbiU0hMVLFSrsNcKQ JhsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=I7OoxYg3; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i4-20020a63b304000000b004af44c74b52si12234078pgf.568.2023.01.11.08.53.31; Wed, 11 Jan 2023 08:53:39 -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=@suse.com header.s=susede1 header.b=I7OoxYg3; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233538AbjAKQpF (ORCPT + 51 others); Wed, 11 Jan 2023 11:45:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232233AbjAKQo4 (ORCPT ); Wed, 11 Jan 2023 11:44:56 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 370671A8 for ; Wed, 11 Jan 2023 08:44:55 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id AE9C04E91; Wed, 11 Jan 2023 16:44:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1673455479; 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=+lGYOpDp4bNuKnxJ8tlVYLr+bl6xRPelNh0S14fBeXs=; b=I7OoxYg3OlBX6EVM379TBGXUacU8S9i5T/xnB98LgJhbKPsWPa2P1VE6kAqNpctknauSk/ kKvWiz7MUkRa3+JWHr6fOLyEJ4gjNiAl0XViAt3U78Ut0ayY18F99tkVfpCbgeuyDaLq0U 2uunWKRUZusTCXL7/ZsZbinX7aMYMgw= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 879B413591; Wed, 11 Jan 2023 16:44:39 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id KM+lIHfnvmNOXAAAMHmgww (envelope-from ); Wed, 11 Jan 2023 16:44:39 +0000 Date: Wed, 11 Jan 2023 17:44:38 +0100 From: Michal Hocko To: Suren Baghdasaryan Cc: David Laight , Ingo Molnar , "michel@lespinasse.org" , "joelaf@google.com" , "songliubraving@fb.com" , "leewalsh@google.com" , "david@redhat.com" , "peterz@infradead.org" , "bigeasy@linutronix.de" , "peterx@redhat.com" , "dhowells@redhat.com" , "linux-mm@kvack.org" , "edumazet@google.com" , "jglisse@google.com" , "punit.agrawal@bytedance.com" , "arjunroy@google.com" , "minchan@google.com" , "x86@kernel.org" , "hughd@google.com" , "willy@infradead.org" , "gurua@google.com" , "laurent.dufour@fr.ibm.com" , "linux-arm-kernel@lists.infradead.org" , "rientjes@google.com" , "axelrasmussen@google.com" , "kernel-team@android.com" , "soheil@google.com" , "paulmck@kernel.org" , "jannh@google.com" , "liam.howlett@oracle.com" , "shakeelb@google.com" , "luto@kernel.org" , "gthelen@google.com" , "ldufour@linux.ibm.com" , "vbabka@suse.cz" , "posk@google.com" , "lstoakes@gmail.com" , "peterjung1337@gmail.com" , "linuxppc-dev@lists.ozlabs.org" , "kent.overstreet@linux.dev" , "hughlynch@google.com" , "linux-kernel@vger.kernel.org" , "hannes@cmpxchg.org" , "akpm@linux-foundation.org" , "tatashin@google.com" Subject: Re: [PATCH 08/41] mm: introduce CONFIG_PER_VMA_LOCK Message-ID: References: <20230109205336.3665937-1-surenb@google.com> <20230109205336.3665937-9-surenb@google.com> <20230111001331.cxdeh52vvta6ok2p@offworld> <6be809f5554a4faaa22c287ba4224bd0@AcuMS.aculab.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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 11-01-23 08:28:49, Suren Baghdasaryan wrote: [...] > Anyhow. Sounds like the overhead of the current design is small enough > to remove CONFIG_PER_VMA_LOCK and let it depend only on architecture > support? Yes. Further optimizations can be done on top. Let's not over optimize at this stage. -- Michal Hocko SUSE Labs