From patchwork Thu Sep 1 17:35:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suren Baghdasaryan X-Patchwork-Id: 12962991 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C52B0ECAAD1 for ; Thu, 1 Sep 2022 17:36:28 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5FB118002F; Thu, 1 Sep 2022 13:36:28 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 584478000D; Thu, 1 Sep 2022 13:36:28 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 388F48002F; Thu, 1 Sep 2022 13:36:28 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 1F0D08000D for ; Thu, 1 Sep 2022 13:36:28 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 032EE1C5AEA for ; Thu, 1 Sep 2022 17:36:27 +0000 (UTC) X-FDA: 79864220856.20.CE1B43D Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.202]) by imf28.hostedemail.com (Postfix) with ESMTP id 7246EC006E for ; Thu, 1 Sep 2022 17:36:27 +0000 (UTC) Received: by mail-yb1-f202.google.com with SMTP id f3-20020a056902038300b00696588a0e87so3564363ybs.3 for ; Thu, 01 Sep 2022 10:36:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date; bh=e91/L3Bkt1w9DT3T0Co0rdM+lRiTKLDE/Mz2x0qV8w8=; b=O6gzuYJNv3OY1tULNg+rSFd+sWkIjQSaV6yE8xAfnZPN1YTVFfR+wvj2NeC2hBY0+k GIVWJsEk2y8yIAo13lsMU4IUJIgKbBiJ1vv+1z7dNT8xT+lTOjC6URMO5pLiEVmaefML PewWj9g+Vcp5HQ91HsRQ365b/kw+OZnJbC/u2QqpxScDN6oJLilMCO5pf8M9kEkOXKy8 kK1hF6rXLpQy+lNimDC91Nhhjc7ZyM02kAhq+89cKu94J6/Mxp9HnTyvO1IKLxhNY5UV lVIZFG9WwP01TdBwwmdFuCPUOkErkzSY1WgEGRWny4u3kPuzbkYMq5itJGF6CAoS3las sKWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date; bh=e91/L3Bkt1w9DT3T0Co0rdM+lRiTKLDE/Mz2x0qV8w8=; b=Mr/SrBnzmUq+zt5B1TuR8f+s+jg7v8hS6L4nD6DLhPVF+xzJB7aQLgYg8ZPlbPo8o3 4BgkD5LWdcKw15nie4ygKE9IIJ5/CKFler91gXsMrHPBDhpa5vgKHAH0aq1UCT3Wk3jw wdn14ePCCL0HwtObnEgzaKPb1R0Mvo/2Ti6gTHK00DujgQHbFVbeWysSaSCOMTKtDAYE iGef2D2ewE6D8Spamr2z+GHnXdZSDRriu5NFswn3cuNt6K5kV3nzGbr2tFi1RNIIqDGd RzNJ23oH6d9Skj1aZvV5roGxuFPDN6lyHOmCek5C38lmF/yI8xg4756WcuJXgaewYoJH T5sQ== X-Gm-Message-State: ACgBeo1nQMyQMBdppOJdnVy6kIwB6kUFhJe8Fe2ptrb6kFrmQWmJo8wt p/lzPpoPtCTtVONaLDvkb1NCcjiVCgc= X-Google-Smtp-Source: AA6agR6JzhhY8hWMnjFDm/o9DPxBMt9dAFxOiR6uxCkipERPD2P+sojVgosImEy5Q2VS3ZGfPJeoFsIcTII= X-Received: from surenb-desktop.mtv.corp.google.com ([2620:15c:211:200:1bfc:e7ee:6530:4449]) (user=surenb job=sendgmr) by 2002:a05:6902:154d:b0:695:d8b4:36b2 with SMTP id r13-20020a056902154d00b00695d8b436b2mr21142474ybu.599.1662053786750; Thu, 01 Sep 2022 10:36:26 -0700 (PDT) Date: Thu, 1 Sep 2022 10:35:13 -0700 In-Reply-To: <20220901173516.702122-1-surenb@google.com> Mime-Version: 1.0 References: <20220901173516.702122-1-surenb@google.com> X-Mailer: git-send-email 2.37.2.789.g6183377224-goog Message-ID: <20220901173516.702122-26-surenb@google.com> Subject: [RFC PATCH RESEND 25/28] arm64/mm: define ARCH_SUPPORTS_PER_VMA_LOCK From: Suren Baghdasaryan To: akpm@linux-foundation.org Cc: michel@lespinasse.org, jglisse@google.com, mhocko@suse.com, vbabka@suse.cz, hannes@cmpxchg.org, mgorman@suse.de, dave@stgolabs.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, rientjes@google.com, axelrasmussen@google.com, joelaf@google.com, minchan@google.com, surenb@google.com, kernel-team@android.com, linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, x86@kernel.org, linux-kernel@vger.kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1662053787; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=e91/L3Bkt1w9DT3T0Co0rdM+lRiTKLDE/Mz2x0qV8w8=; b=0JYI8vWe0MBSEqeB07uONRZbxUkQrvisauxNTdhEaQ49eo3gE5K6NWLCHM8LA1Jq3U+HG0 AK8w5hjXq4pM//KC8/yTJcXNbE/9FiWsAyxsV88+UtplkZcA+qrlUXUp7Nb5gM2N4aMtbj HiB2ynfUHDR3Eo7r6mVhonWJB8ZHy/M= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=O6gzuYJN; spf=pass (imf28.hostedemail.com: domain of 3mu0QYwYKCNcLNK7G49HH9E7.5HFEBGNQ-FFDO35D.HK9@flex--surenb.bounces.google.com designates 209.85.219.202 as permitted sender) smtp.mailfrom=3mu0QYwYKCNcLNK7G49HH9E7.5HFEBGNQ-FFDO35D.HK9@flex--surenb.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1662053787; a=rsa-sha256; cv=none; b=Udx0D4HTXJJchLpWYYrcwa6SYE4hWiC5LcdsueDMN2EoYiKOJYYae4XNkRa007UgzCX4FE q2qHA+FaIMa/461C6kSIHiAy/6/lB9UPe4M2UfBYj5BCSTVXIOJnI8TbqCXKZP/P4MTTEa RLhHuWiPLyChSD5403+rHiCDAFTSb7M= X-Stat-Signature: m9sttygbfz1pidxswqc7wyh73nhn56w3 X-Rspamd-Queue-Id: 7246EC006E Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=O6gzuYJN; spf=pass (imf28.hostedemail.com: domain of 3mu0QYwYKCNcLNK7G49HH9E7.5HFEBGNQ-FFDO35D.HK9@flex--surenb.bounces.google.com designates 209.85.219.202 as permitted sender) smtp.mailfrom=3mu0QYwYKCNcLNK7G49HH9E7.5HFEBGNQ-FFDO35D.HK9@flex--surenb.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com X-Rspamd-Server: rspam12 X-Rspam-User: X-HE-Tag: 1662053787-536597 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 9fb9fff08c94..0747ae1f3b39 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -93,6 +93,7 @@ config ARM64 select ARCH_SUPPORTS_INT128 if CC_HAS_INT128 select ARCH_SUPPORTS_NUMA_BALANCING select ARCH_SUPPORTS_PAGE_TABLE_CHECK + select ARCH_SUPPORTS_PER_VMA_LOCK select ARCH_WANT_COMPAT_IPC_PARSE_VERSION if COMPAT select ARCH_WANT_DEFAULT_BPF_JIT select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT