Message ID | 20220901173516.702122-28-surenb@google.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 EA44EECAAD5 for <linux-mm@archiver.kernel.org>; Thu, 1 Sep 2022 17:36:33 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7D07F80031; Thu, 1 Sep 2022 13:36:33 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7590C8000D; Thu, 1 Sep 2022 13:36:33 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5D34280031; Thu, 1 Sep 2022 13:36:33 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 449C28000D for <linux-mm@kvack.org>; Thu, 1 Sep 2022 13:36:33 -0400 (EDT) Received: from smtpin17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 2565E80FF2 for <linux-mm@kvack.org>; Thu, 1 Sep 2022 17:36:33 +0000 (UTC) X-FDA: 79864221066.17.C9F99E3 Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) by imf15.hostedemail.com (Postfix) with ESMTP id C9278A0050 for <linux-mm@kvack.org>; Thu, 1 Sep 2022 17:36:32 +0000 (UTC) Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-33dbfb6d2a3so234918887b3.11 for <linux-mm@kvack.org>; Thu, 01 Sep 2022 10:36:32 -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=vKtrq3HIq0qVh4puVrk/99Ll6PM2V5XVbSUsmvDjj9I=; b=tivdYiD8ZAJK8kY23bdnMjSf6GqsaVRSwINiFtGtPiGjoWq5MFwTdXcs6F+jY7ZJCK /S9q6olR7R7v5bTdyGGJAkaj1esNAWRQw+6z/ncs3LyR7k1VQNGfhn+1/vYhCXSOHiL4 6opl/Yux1TzXEQKGzwy0i4oX47fV8vpc6BEr00D/YdbkLyZ9SHmRwW4kBhG1xNo5Bgh3 mtUhM/EXxGiBQ9J+E4RQUvuZwU4rl5n4anzWcV73TPe35S1Oe6kIZC4EGb3KKcT8isc0 o4+RnjpTFgDSTn6r4q7bAZvWDnDcTYKIxFWZmBACSU/yC2EIvY26FAMGgxLd2T0siGu4 jeUw== 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=vKtrq3HIq0qVh4puVrk/99Ll6PM2V5XVbSUsmvDjj9I=; b=W+RICkDv2dNWIGWs24f7SwqiHg71dwDl71HknnLpmAHbaMMHNPGCr1cmipY1RNHHCf VgXe0Z3ri4Ege/tc2n5eY4Cb8OXEXcDUtBNkdlZoysB3L3vDbAiMy2Y72ueE7i3sEsVP woGYFVVnZi8j8IAI9YPmetnQjTOiSi2vBAAG1HTu0GTu6oTumIoj9ngxQjPTThtK2i8V pjVySE4KniBqSzLDoQC6aqopK8yzEt9NH9aMUAXWbdTW6dsQv6DH2KVt0NiQaaLtCGDo +UKHLZ0oiw3F8INc/YGGVQmqhOEXT23e9/X8cNwhTAoMUYaNJCMfAf+Q1l58Uy/PUEMH vm1Q== X-Gm-Message-State: ACgBeo0wtyLSPLhr4i+mx0TP6UQY5c6Qh+PVaHw8S5fH0Ry8TS+lu+YR IeuzT+eVz2WtQdTaHaJiQbqyfcuUDUg= X-Google-Smtp-Source: AA6agR6ETpVykmR2l2EiORnO/7/6aTPnOWA5nUbQjzShI0yNekZbMOoTb0Et/3IYHZBh1H/HSgpOo7WMY1M= X-Received: from surenb-desktop.mtv.corp.google.com ([2620:15c:211:200:1bfc:e7ee:6530:4449]) (user=surenb job=sendgmr) by 2002:a25:9a85:0:b0:69b:79d2:7f4e with SMTP id s5-20020a259a85000000b0069b79d27f4emr15568357ybo.379.1662053792100; Thu, 01 Sep 2022 10:36:32 -0700 (PDT) Date: Thu, 1 Sep 2022 10:35:15 -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-28-surenb@google.com> Subject: [RFC PATCH RESEND 27/28] powerpc/mm: define ARCH_SUPPORTS_PER_VMA_LOCK From: Suren Baghdasaryan <surenb@google.com> 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 Content-Type: text/plain; charset="UTF-8" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1662053792; 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=vKtrq3HIq0qVh4puVrk/99Ll6PM2V5XVbSUsmvDjj9I=; b=6tsexHYBK9khtX+BtlEJkm+/fLidrMIR0/B22OZwwrGZkscVC0vHIFg/BeURdDcrZ0iVvS LlelHuqPKpF2dcpg8M9Y7UyGuG7cciXtyi9lUEuSj1a0z3ssyl7Oj+qb+zmNNDGDP1E4ce eHA2N9lQ0hJlu3HDcuqenfznvp9slqA= ARC-Authentication-Results: i=1; imf15.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=tivdYiD8; spf=pass (imf15.hostedemail.com: domain of 3oO0QYwYKCN0RTQDMAFNNFKD.BNLKHMTW-LLJU9BJ.NQF@flex--surenb.bounces.google.com designates 209.85.128.201 as permitted sender) smtp.mailfrom=3oO0QYwYKCN0RTQDMAFNNFKD.BNLKHMTW-LLJU9BJ.NQF@flex--surenb.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1662053792; a=rsa-sha256; cv=none; b=NlEp6aKjSP7Pj+WETjgb87LwxBj8LgBD4MsWAg5klf2mXNb696f1IQq2EAGE0zqWpQGZ8r 8symndvASlJwWy0c37hFJJDAdFYag48d6ljqExHnY0F1VAHxactTPsiKv39UE7RF45J4wK LTUc4/XdkR5HkPo27Kzn+kCk+mk0gkU= Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=tivdYiD8; spf=pass (imf15.hostedemail.com: domain of 3oO0QYwYKCN0RTQDMAFNNFKD.BNLKHMTW-LLJU9BJ.NQF@flex--surenb.bounces.google.com designates 209.85.128.201 as permitted sender) smtp.mailfrom=3oO0QYwYKCN0RTQDMAFNNFKD.BNLKHMTW-LLJU9BJ.NQF@flex--surenb.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com X-Rspamd-Server: rspam11 X-Stat-Signature: u1zhxppfkeygog3whautxm8yxdmb8rz5 X-Rspamd-Queue-Id: C9278A0050 X-Rspam-User: X-HE-Tag: 1662053792-214695 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000342, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
per-VMA locks proposal
|
expand
|
diff --git a/arch/powerpc/platforms/powernv/Kconfig b/arch/powerpc/platforms/powernv/Kconfig index ae248a161b43..70a46acc70d6 100644 --- a/arch/powerpc/platforms/powernv/Kconfig +++ b/arch/powerpc/platforms/powernv/Kconfig @@ -16,6 +16,7 @@ config PPC_POWERNV select PPC_DOORBELL select MMU_NOTIFIER select FORCE_SMP + select ARCH_SUPPORTS_PER_VMA_LOCK default y config OPAL_PRD diff --git a/arch/powerpc/platforms/pseries/Kconfig b/arch/powerpc/platforms/pseries/Kconfig index fb6499977f99..7d13a2de3475 100644 --- a/arch/powerpc/platforms/pseries/Kconfig +++ b/arch/powerpc/platforms/pseries/Kconfig @@ -21,6 +21,7 @@ config PPC_PSERIES select HOTPLUG_CPU select FORCE_SMP select SWIOTLB + select ARCH_SUPPORTS_PER_VMA_LOCK default y config PARAVIRT_SPINLOCKS