Message ID | 20220829212531.3184856-24-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 A640FC0502C for <linux-mm@archiver.kernel.org>; Mon, 29 Aug 2022 21:26:18 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0991794001B; Mon, 29 Aug 2022 17:26:18 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id F3DA6940008; Mon, 29 Aug 2022 17:26:17 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D915694001B; Mon, 29 Aug 2022 17:26:17 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id B5EFF940008 for <linux-mm@kvack.org>; Mon, 29 Aug 2022 17:26:17 -0400 (EDT) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 8B976AA9CE for <linux-mm@kvack.org>; Mon, 29 Aug 2022 21:26:17 +0000 (UTC) X-FDA: 79853913594.08.75E7BCE Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.201]) by imf31.hostedemail.com (Postfix) with ESMTP id 551DA2004C for <linux-mm@kvack.org>; Mon, 29 Aug 2022 21:26:17 +0000 (UTC) Received: by mail-pl1-f201.google.com with SMTP id l16-20020a170902f69000b00175138bcd25so362818plg.2 for <linux-mm@kvack.org>; Mon, 29 Aug 2022 14:26:17 -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=2fd/wGll+ATU6BJRTn7wtpRUT69Ps19K4L9NuJFwTCo=; b=CptXAEbTEIrjcI1hpAhqMGzwstwkcEJJxmfb7we2Tkw33BFQo0d25Vl71IxE1hgwCE +/zdjUxBz/kfwlykJ2mpRLD2ASHh0Jx/8NPF+GvmOj+OIPDuJ9h8tJ0qgl8jIPnA0gyY HL/K18g+JnPGw8ocd38eG5KHL97qZgAE2vHMSq8EmM7kYFzwJqKpJAdVhwHK8rQ0CEUk zlwtiJI41bKlNxlGW7NWWuuvJOTrejKhLXTonY1HBOreH+6SF0a8TMKsBr5d7H138Lnw MYC4Krs42a4eoKPM77oYkjvTzwtNbqixe2Jty6RY0Tg1xXxoDrCaGfCoHKiNRbMG4ac9 6NkA== 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=2fd/wGll+ATU6BJRTn7wtpRUT69Ps19K4L9NuJFwTCo=; b=LvYkIZLoplKFYGFpkpyWQgwV75REoPlMUUoFeDEO/fuZlsV53A+/aruc5MfK+o7Zc8 6z+xhC4oGW6WPWdeJO4dWXJqnqGPHeMrHZOVF+0XlQqTqUA19ulHRLJgJ44CBv8EZN48 Hw+qESlaOy7PvWfcyvzldJwuc4QfJVmKqzWoIztycpfe/rzBrw8Gc0hjzrMrzxc98vZk 2B399oKAbLLy56RNAb41s+V8jTFaQn11AQwHESPuDrI0BCeYiyhXf4SmLr1YVXi0GrRI pyylGTZ5bhBHqZq4AwZilvVVa/LlfL00TcRIlWwyUEx1jKXu4syHz7/+we78V3UGhLyG RsJA== X-Gm-Message-State: ACgBeo070TnTZQPk4uH5z5p+8E3uKKQS6heDk0oU1cXync051C+aRzrJ Qai2hA9ZMu4T6eWv4I64zSEJQKuj2rM= X-Google-Smtp-Source: AA6agR5QjqhJOQoDiATaLtKSN9vwads3L2SWpCSYlmwHfKycrJZLy9F13OZO0MNqEBq8/z8yofCbHCaZE68= X-Received: from surenb-spec.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:3e30]) (user=surenb job=sendgmr) by 2002:a17:902:d54b:b0:174:af35:4ba0 with SMTP id z11-20020a170902d54b00b00174af354ba0mr7860599plf.74.1661808376452; Mon, 29 Aug 2022 14:26:16 -0700 (PDT) Date: Mon, 29 Aug 2022 21:25:26 +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-24-surenb@google.com> Subject: [RFC PATCH 23/28] x86/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=1661808377; a=rsa-sha256; cv=none; b=DKUg1nd3NRpebzGNlOZGGSwzP6FLZnXY4feDmr7vLp0IJWeGgCOizzakiETVkEdECc3Twr IqTs9QfM8DwI+eeayxFNEr++ywLppFmjB1nxFNwqROPcljE90NHDnmBPQmAQjVDlb2g6XZ OsX99j0dqd/ZgXWNSxQYHAAUL+HMxVg= ARC-Authentication-Results: i=1; imf31.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=CptXAEbT; spf=pass (imf31.hostedemail.com: domain of 3-C4NYwYKCKkbdaNWKPXXPUN.LXVURWdg-VVTeJLT.XaP@flex--surenb.bounces.google.com designates 209.85.214.201 as permitted sender) smtp.mailfrom=3-C4NYwYKCKkbdaNWKPXXPUN.LXVURWdg-VVTeJLT.XaP@flex--surenb.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1661808377; 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=2fd/wGll+ATU6BJRTn7wtpRUT69Ps19K4L9NuJFwTCo=; b=XlPQDLGNGTMvxWatye/Z6/vBnhW9ZmV9ZenKeSjKapkAADasGZoyl22c5mL9Y43aw/Y4CR JR/zRox4vj0XqPqF1v1Hnw6qTD0P2BpiMhPdzUJ5Nu64jlEpyB/Fx726IC+rtD3ZuKfQTr rFGVRlRAWGIt9CbVa47rERu1YA9nfAE= Authentication-Results: imf31.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=CptXAEbT; spf=pass (imf31.hostedemail.com: domain of 3-C4NYwYKCKkbdaNWKPXXPUN.LXVURWdg-VVTeJLT.XaP@flex--surenb.bounces.google.com designates 209.85.214.201 as permitted sender) smtp.mailfrom=3-C4NYwYKCKkbdaNWKPXXPUN.LXVURWdg-VVTeJLT.XaP@flex--surenb.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com X-Rspamd-Server: rspam05 X-Stat-Signature: o7jr347zixuk6zmric517zd6cmsxktg4 X-Rspamd-Queue-Id: 551DA2004C X-Rspam-User: X-HE-Tag: 1661808377-351877 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: <linux-mm.kvack.org> |
Series |
per-VMA locks proposal
|
expand
|
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
Set ARCH_SUPPORTS_PER_VMA_LOCK so that the per-VMA lock support can be compiled on this architecture. Signed-off-by: Suren Baghdasaryan <surenb@google.com> --- arch/x86/Kconfig | 1 + 1 file changed, 1 insertion(+)