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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9D59FECAAD3 for ; Thu, 1 Sep 2022 23:19:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Nn/SmPkakVTPh4rs66pg1psiz2mIF80C3ZWHqsm/mM8=; b=tUEEQAA5Aj+Obd bCfvhctuJ1WHm4TGL6m3kR1/sfCtY+jDtE4KC91gc6glULTDxD9Z9KRUnYK6MBmBEooUgvkBJhRgQ BDRMv9Jr6iNMUqTzv3M0/Bjdnc8s1Wl9V/ekgix5Q1VluDZplYmpdNtI1pil/QbQh1t26hjmcJuxs XzfqcpoQqz6L4afWKHGMjga8UhZf8iF5tN4WHHGcCbOIx83YfOJMANEkv5TXpx0BjeanWtRJ5GF7g pQQoNsqA/h7w3J17C0gDIo7Vz0mgLSUWLbl3rhYGLWr62TkNlU0pHxyH5B1RANZuoYhNH0NlBs/Z8 uLmZQuafYjSr62ZIWhsg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTtRc-00FjAG-11; Thu, 01 Sep 2022 23:17:56 +0000 Received: from mail-yb1-xb34.google.com ([2607:f8b0:4864:20::b34]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTtRY-00Fj6a-8G for linux-arm-kernel@lists.infradead.org; Thu, 01 Sep 2022 23:17:53 +0000 Received: by mail-yb1-xb34.google.com with SMTP id 11so980475ybu.0 for ; Thu, 01 Sep 2022 16:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=LLe4P0CDKZNu2y/iLQFOmqm2xVCa1+xC0+/2UAKABJs=; b=E800dH7PG7qGduh6oSah7WQAwmrsM+wQmDZjjqdBAR60RvrxBZHO23f04n2iXHj6B6 JP4sBRMEb5m0iPCXbYazGmBCzu7qChwl/ipzAmIhLadRiKX3Y0zySsPNlYd0h+LcoxL8 5FNxATVqNyLa1BoYf6Cxlq+XP5qZplVJPHSMPHn1kfsbAjFzQxAMb9VoJYRqdqVYgEwr U+TKjEqBLNEszFZU9PUc/x9OXZ/4B2ib6Q/EZSxGRaxVsTNJo0XeGgkfBjLjXtDUFglC Q2eTqe1FllFFqOAiwsRUf4TETNOa1mHZ6WH7dmCthCaB5IO6/fwVnji8K+vdyqp3MbuZ tFcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=LLe4P0CDKZNu2y/iLQFOmqm2xVCa1+xC0+/2UAKABJs=; b=xKpkEZhHlVbo59ITV3YkPhJ+SKAL1kS6Vj+2c1xkrPSWame3Y9riviz2MXTWP/7/x2 rvxEgbxwobIW1tTJoUEhMOrwcnOOoh4HHYcnaxcbn1C1qN4Gf1wWa6ap2gZIb+sgapnt sbAQat2LwFZ0V2/lp8YNpytgbow7mtdlfApcvAUVMag3IBiHuwa4vkPKSBssv28HhEGT 3z24jTDymevP4E62xM3q5z3Is5AUs73uX4RZO98niHo/9K9XocQrRxwPDWdQMyQNTreK eSVGzkGeitrf8SwMnUjh6/rXqM0sj/7aYbgBUrRVsWoTXGhLF0pyc+qbtDM+C7QM1QFo oquQ== X-Gm-Message-State: ACgBeo3WBck4Fef/lkNpH23suKtqcwT2/+8xZCeS0p6VXL0dkwCPhxRX lF7ORyGfUV/KFaeuYHw1ceXxh60GiaatxXsGoG1zxw== X-Google-Smtp-Source: AA6agR6jFuUOVZTVV0+XfDd0He4Hrb9XV2PsfvVugkFPyYicaO90qEw/qesq5yP63n03v6KmDubjqCQiaNOXXMGy9zw= X-Received: by 2002:a05:6902:705:b0:695:b3b9:41bc with SMTP id k5-20020a056902070500b00695b3b941bcmr21131741ybt.426.1662074264903; Thu, 01 Sep 2022 16:17:44 -0700 (PDT) MIME-Version: 1.0 References: <20220901173516.702122-1-surenb@google.com> <20220901173516.702122-24-surenb@google.com> <20220901202052.xfaeuhmosheml2gz@moria.home.lan> In-Reply-To: <20220901202052.xfaeuhmosheml2gz@moria.home.lan> From: Suren Baghdasaryan Date: Thu, 1 Sep 2022 16:17:33 -0700 Message-ID: Subject: Re: [RFC PATCH RESEND 23/28] x86/mm: define ARCH_SUPPORTS_PER_VMA_LOCK To: Kent Overstreet Cc: Andrew Morton , Michel Lespinasse , Jerome Glisse , Michal Hocko , Vlastimil Babka , Johannes Weiner , Mel Gorman , Davidlohr Bueso , Matthew Wilcox , "Liam R. Howlett" , Peter Zijlstra , Laurent Dufour , Laurent Dufour , "Paul E . McKenney" , Andy Lutomirski , Song Liu , Peter Xu , David Hildenbrand , dhowells@redhat.com, Hugh Dickins , bigeasy@linutronix.de, David Rientjes , Axel Rasmussen , Joel Fernandes , Minchan Kim , kernel-team , linux-mm , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, x86@kernel.org, LKML X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220901_161752_318561_B4C65A51 X-CRM114-Status: GOOD ( 20.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Sep 1, 2022 at 1:21 PM Kent Overstreet wrote: > > On Thu, Sep 01, 2022 at 10:35:11AM -0700, Suren Baghdasaryan wrote: > > Set ARCH_SUPPORTS_PER_VMA_LOCK so that the per-VMA lock support can be > > compiled on this architecture. > > > > Signed-off-by: Suren Baghdasaryan > > --- > > arch/x86/Kconfig | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > > index f9920f1341c8..ee19de020b27 100644 > > --- a/arch/x86/Kconfig > > +++ b/arch/x86/Kconfig > > @@ -27,6 +27,7 @@ config X86_64 > > # Options that are inherently 64-bit kernel only: > > select ARCH_HAS_GIGANTIC_PAGE > > select ARCH_SUPPORTS_INT128 if CC_HAS_INT128 > > + select ARCH_SUPPORTS_PER_VMA_LOCK > > select ARCH_USE_CMPXCHG_LOCKREF > > select HAVE_ARCH_SOFT_DIRTY > > select MODULES_USE_ELF_RELA > > I think you could combine this with the previous path (and similarly on other > architectures) - they logically go together. Thanks for the feedback! I see no downside to that, so unless there are objections I will combine them in the next version. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel