From patchwork Mon Aug 29 21:25:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suren Baghdasaryan X-Patchwork-Id: 12958449 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 423D4ECAAD8 for ; Mon, 29 Aug 2022 21:26:22 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CD0DA94001D; Mon, 29 Aug 2022 17:26:21 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C58F3940008; Mon, 29 Aug 2022 17:26:21 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AF75F94001D; Mon, 29 Aug 2022 17:26:21 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 94F48940008 for ; Mon, 29 Aug 2022 17:26:21 -0400 (EDT) Received: from smtpin30.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 709A9AAB3C for ; Mon, 29 Aug 2022 21:26:21 +0000 (UTC) X-FDA: 79853913762.30.913B99D Received: from mail-pj1-f74.google.com (mail-pj1-f74.google.com [209.85.216.74]) by imf20.hostedemail.com (Postfix) with ESMTP id 2B6101C0042 for ; Mon, 29 Aug 2022 21:26:21 +0000 (UTC) Received: by mail-pj1-f74.google.com with SMTP id 2-20020a17090a0b8200b001fdb8fd5f29so1549199pjr.8 for ; Mon, 29 Aug 2022 14:26:20 -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; bh=M/5Y14x1SSOe03/jfupiRT6TG6dq1ngDrWV9hskObuI=; b=keg1i0nk+izk1klWl7kacG2dqLVFCBBFr7DTBR9Vkh347LyX6fgOptbA6FX9RaUao+ vJTGW+XEi+UTAE6ZSui/ACoLYvw+CzBRdshi7UOcb6GKyXUkGWluK1e9ViX0u2MOFUby n+VIqiL1KgbaHmBILZRqDKCT7yq9OcaG3eWuWfyFbeDAc3tNJSfOayUDVB763p8OZugP N6WyMveSXRyt1x9RwdvL650Tufs+g4oBOJJ5iU1MJBZM9QMXfDComRZRSTq/8D/ye7ef ZSEe/ZXHQtclALcTUMn5apyFMWCE/g3tgTBxLG+Y3u9vQ4Ps1pm7jxw7nOrCfEth2Ax0 A9EQ== 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; bh=M/5Y14x1SSOe03/jfupiRT6TG6dq1ngDrWV9hskObuI=; b=0qBmizoWUiomqnigApKsNgR7rBmI26Uw3KYTWpxdClBTrh0oRnZfr4+YGK+qrSZUh6 Sa/ATp6Lx0Mcy6azE2BlrVaf1HWbeP+hYjFB+77MY97fgKqSL3ZudGox/Bm1COcv9Vl2 IYU1nFOkG2M/mY6WWBK5DUhiuC/40dfZpSeD1NOjzRZojHZebZJIeGFyFsWHFd9jZtKg 2UiLQkgq9n21CvGP47biAs+nNeaw2OktDsYuin8ihM5wUXnvoOmqguTSGKo9LhQY80U8 ASU9YZqTWzJWX302NbFYdvBvHkhRILJG2aCbmbIixm+lhd7OoNwj48t+PE3GHA1r/Nfl NSAA== X-Gm-Message-State: ACgBeo0hp/hcn+s3NsWr6SXpw4rjcx/dzW6mXeSjvpF8BcEMktaRVSeZ aZiw4ya+4RFIEeH013cfk+9p0jscER4= X-Google-Smtp-Source: AA6agR4Lx1uzJZ7T/fCqu0c+3ou3bFPxSP7qIc7HtsIZjbU9yCjHgv7Z+4FP1+5TPgAu6qrR46XQccXnjfE= X-Received: from surenb-spec.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:3e30]) (user=surenb job=sendgmr) by 2002:a17:90a:e558:b0:1fb:c4b7:1a24 with SMTP id ei24-20020a17090ae55800b001fbc4b71a24mr21113pjb.1.1661808379380; Mon, 29 Aug 2022 14:26:19 -0700 (PDT) Date: Mon, 29 Aug 2022 21:25:28 +0000 In-Reply-To: <20220829212531.3184856-1-surenb@google.com> Mime-Version: 1.0 References: <20220829212531.3184856-1-surenb@google.com> X-Mailer: git-send-email 2.37.2.672.g94769d06f0-goog Message-ID: <20220829212531.3184856-26-surenb@google.com> Subject: [RFC PATCH 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@techsingularity.net, 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, riel@surriel.com, 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-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1661808381; a=rsa-sha256; cv=none; b=JpHzQCOkOKm9JbzFCbe1MRSF1NrwRdy3TaOGtrf4WPwqFdt8gtvsBYnoCDnAdjBewNnP3E OOVCEe5pl7vxD8xtWe0tv0zdpxDUReTMExM3DaRX3HM0jmQ958z6zZ4teX/zfShTsg/1Fj q/qcODmH/SKpnI0mVLcyPnCfwBBoPJg= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=keg1i0nk; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf20.hostedemail.com: domain of 3-y4NYwYKCKwegdQZNSaaSXQ.OaYXUZgj-YYWhMOW.adS@flex--surenb.bounces.google.com designates 209.85.216.74 as permitted sender) smtp.mailfrom=3-y4NYwYKCKwegdQZNSaaSXQ.OaYXUZgj-YYWhMOW.adS@flex--surenb.bounces.google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1661808381; 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=M/5Y14x1SSOe03/jfupiRT6TG6dq1ngDrWV9hskObuI=; b=UwzOke34TFWqYzEHZk58/vGH7KeTIfJUGT0aj5ZNyqNpg8YT0GnrzKp9MUoiDo1lKW5n1+ lpR+OED6YB3/P+yJHwqj1WTnuZiO/NB9L4GxkxfJ7A4X6SgQ/QXLBqKUADD9sct54QvLvI Mc7vFtn813GM4jx1/UXAwzMviJ+tr6g= X-Rspam-User: X-Rspamd-Queue-Id: 2B6101C0042 X-Rspamd-Server: rspam12 X-Stat-Signature: zhhratcikkstbbb1oe37iq86adywygsi Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=keg1i0nk; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf20.hostedemail.com: domain of 3-y4NYwYKCKwegdQZNSaaSXQ.OaYXUZgj-YYWhMOW.adS@flex--surenb.bounces.google.com designates 209.85.216.74 as permitted sender) smtp.mailfrom=3-y4NYwYKCKwegdQZNSaaSXQ.OaYXUZgj-YYWhMOW.adS@flex--surenb.bounces.google.com X-HE-Tag: 1661808381-298577 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000006, 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