Message ID | 20220829212531.3184856-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 469F2ECAAD4 for <linux-mm@archiver.kernel.org>; Mon, 29 Aug 2022 21:26:25 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D44C394001F; Mon, 29 Aug 2022 17:26:24 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CAB1D940008; Mon, 29 Aug 2022 17:26:24 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AAA3B94001F; Mon, 29 Aug 2022 17:26:24 -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 98D4F940008 for <linux-mm@kvack.org>; Mon, 29 Aug 2022 17:26:24 -0400 (EDT) Received: from smtpin17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 6CFF7802D5 for <linux-mm@kvack.org>; Mon, 29 Aug 2022 21:26:24 +0000 (UTC) X-FDA: 79853913888.17.1B084A5 Received: from mail-pj1-f73.google.com (mail-pj1-f73.google.com [209.85.216.73]) by imf03.hostedemail.com (Postfix) with ESMTP id 275FC20041 for <linux-mm@kvack.org>; Mon, 29 Aug 2022 21:26:24 +0000 (UTC) Received: by mail-pj1-f73.google.com with SMTP id n30-20020a17090a5aa100b001fb0c492d5eso3877286pji.3 for <linux-mm@kvack.org>; Mon, 29 Aug 2022 14:26:23 -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=WpdYqLbUAWRRR7NpWeIwifObGgR3/WEcKlSas1duxWs=; b=A8iXlM7kWh/+WLxmr7Wxu633pJ33WbnreWCJkhO2mN51OTMuCRIiZbXSJTMwU7nnLp 8HrWKhSa16qOE9IHNHTIDFaumIghV/X3vZxzBwxJyopuUJchdMXN0oUY2EJvc97qw23/ 002SGSF6e/GfvGXcSJZJ9OH52bwQ+17bBv1qwUEkh+/hxiA3XGJZS3QMw2bsNQo6K8n5 ASVJIXUmfSCyDSBXlWu7+9C2NTyQxO6WdEpOrWiiN0G0XOZ0xYY++9szDB3PW4z/iVNr kXUF0efo+Jl4A1NDPbFsv2i2F8cuEbcHbyZjyx1JQrC6JX3bDooGkyCEfiAtjL3LX2kX L4Og== 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=WpdYqLbUAWRRR7NpWeIwifObGgR3/WEcKlSas1duxWs=; b=szCDYfgk5NL8GoBMOY6Se/8pP7HG7YScZLqcvrEoPMhlpB65VGdRDYPqks/neqXRZQ 5z1QXwPmG9mgz/L4f6NO9Jp3v9eh9PB66C6N4L+YcFIFN9ejbNH6NSiyKwaC4o2ctci1 9UFhKqVtt+YT4n9PxSQlPyl671PHQy/gbRSCnnQZaMdz3YOy6ZJqu2WKCqu320I1wYzv dxqvT1wY4X24bOc+znvWR/RJvVfPYeWfNJcr/VAi5su1RFObS2f1oZQtYfb66a4O0W89 0KeHMsqg4jgEr19Q2glP+QE0a2uKbBg4sSOUlIacV8IdXkaiUJaUgNNDpgj9xgXWCFid R5zg== X-Gm-Message-State: ACgBeo0XW3mccbAKZc8QCFBM5qZgcbFCpu6ka17+pTV7tBAEcUC8lks3 pTnLydA0OQpm/DaiLfB02DZdzJ68Bj0= X-Google-Smtp-Source: AA6agR7BIF7zDBFRMtaQFIX+dYsK3ioA4U218I6Y8n5CHeAbnavsVuqAEK5kMo+KsvAOcZae2RDMSpS8XIE= X-Received: from surenb-spec.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:3e30]) (user=surenb job=sendgmr) by 2002:a17:903:2d1:b0:171:3773:b95 with SMTP id s17-20020a17090302d100b0017137730b95mr17499271plk.173.1661808383315; Mon, 29 Aug 2022 14:26:23 -0700 (PDT) Date: Mon, 29 Aug 2022 21:25:30 +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-28-surenb@google.com> Subject: [RFC PATCH 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@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 Content-Type: text/plain; charset="UTF-8" ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1661808384; a=rsa-sha256; cv=none; b=aaMSSoQTi1R69N+mBKswafEcWt68TW/S0MwwV38BPkNRsunMpKUB1Dkyk7Vsj0DuDHp5h2 89alhQjy7jY0kjG3K+LvbqcIcGBZs8k28kmnTKVYIqAz6Hs+UjQloFAIbAYUNsrHd4mtAP F7tQAowIsOjQBFXRGshsVALrtY9OnP8= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=A8iXlM7k; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf03.hostedemail.com: domain of 3_y4NYwYKCLAikhUdRWeeWbU.SecbYdkn-ccalQSa.ehW@flex--surenb.bounces.google.com designates 209.85.216.73 as permitted sender) smtp.mailfrom=3_y4NYwYKCLAikhUdRWeeWbU.SecbYdkn-ccalQSa.ehW@flex--surenb.bounces.google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1661808384; 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=WpdYqLbUAWRRR7NpWeIwifObGgR3/WEcKlSas1duxWs=; b=lSbiTRKsv/DWBUlMVIRAnhfu5xUSRGXBKKevqiFIZbP3zpjnCwloOD7Tt+mXeVQ5nZbymj UD/cXhoRbp0GhY/yfYgPYJNfvL7lQTpr5E3O95rdtJ4WOMLOO4SSTStukMYQwiFVMSPR/o sH9sZ99RTZqEGEIdiYIy/pSWUB2raiU= X-Rspam-User: X-Rspamd-Queue-Id: 275FC20041 X-Rspamd-Server: rspam03 X-Stat-Signature: wtz4wp1b4s7xjyhtbjkwmbekuhru8njk Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=A8iXlM7k; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf03.hostedemail.com: domain of 3_y4NYwYKCLAikhUdRWeeWbU.SecbYdkn-ccalQSa.ehW@flex--surenb.bounces.google.com designates 209.85.216.73 as permitted sender) smtp.mailfrom=3_y4NYwYKCLAikhUdRWeeWbU.SecbYdkn-ccalQSa.ehW@flex--surenb.bounces.google.com X-HE-Tag: 1661808384-952720 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000005, 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