Message ID | 20240806022114.3320543-5-yuzhao@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 03524C3DA7F for <linux-mm@archiver.kernel.org>; Tue, 6 Aug 2024 02:21:33 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8B9456B00C5; Mon, 5 Aug 2024 22:21:32 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 841606B00C6; Mon, 5 Aug 2024 22:21:32 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6E46A6B00C7; Mon, 5 Aug 2024 22:21:32 -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 445866B00C5 for <linux-mm@kvack.org>; Mon, 5 Aug 2024 22:21:32 -0400 (EDT) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 098D6C1E80 for <linux-mm@kvack.org>; Tue, 6 Aug 2024 02:21:32 +0000 (UTC) X-FDA: 82420219224.07.1A60FB5 Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) by imf14.hostedemail.com (Postfix) with ESMTP id 36DFF100008 for <linux-mm@kvack.org>; Tue, 6 Aug 2024 02:21:30 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=2Wd54qYh; spf=pass (imf14.hostedemail.com: domain of 3qYixZgYKCLw0w1jcqiqqing.eqonkpwz-oomxcem.qti@flex--yuzhao.bounces.google.com designates 209.85.128.202 as permitted sender) smtp.mailfrom=3qYixZgYKCLw0w1jcqiqqing.eqonkpwz-oomxcem.qti@flex--yuzhao.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=1722910882; 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=klWRv7jv+zR9aL4I7OIDRLjBsHfroErcwBIt7k9CqK8=; b=oraDzgjTktdwD23OxSp7EQ2dgSRKJzYSCm2O1NqCialAg3LwOyAVDYThdhx+w2XhQpyTtH 4w5OzJNoZUOkzhS2L66tizPQ2xHdQ1Yz8bgPrbwxcWTfrTs9lazbbahCF+sOGWcS9dRcin /2WkRXGg7OUEUwPsfJq0CdTrO/TJiUI= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=2Wd54qYh; spf=pass (imf14.hostedemail.com: domain of 3qYixZgYKCLw0w1jcqiqqing.eqonkpwz-oomxcem.qti@flex--yuzhao.bounces.google.com designates 209.85.128.202 as permitted sender) smtp.mailfrom=3qYixZgYKCLw0w1jcqiqqing.eqonkpwz-oomxcem.qti@flex--yuzhao.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1722910882; a=rsa-sha256; cv=none; b=RJWPABXnHL3Z/4MwYNV1cJf44d04Ygb6JtXLb1O46bXp8iAUXrsnO2OLuLpT8wUl9e2LMw McEN5+wf7njBqYZlOoqGYbUNTjPnGoiXGG1GLB9S5G0ADGINzYQkTU6KSfn5JchaDM6PZn OZ8O8PtWwb0yeaUFM0LAy+ghRgk7bQs= Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-650ab31aabdso3619367b3.3 for <linux-mm@kvack.org>; Mon, 05 Aug 2024 19:21:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1722910889; x=1723515689; darn=kvack.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=klWRv7jv+zR9aL4I7OIDRLjBsHfroErcwBIt7k9CqK8=; b=2Wd54qYhHT4kyGZY/fBH3PUqDUGtVzmyzXbuxAwzWIBI8Ctx1G8wVkKxDAJL8g0G2P l2ln9KZU0R+E1byc5sR1irs3DpOO+dmxHKLgnf/dBjF1zpowTkjX5JS0QvoTw3ZZmgBJ xCkYD7sDprBIExscEIKLO54mM2DVTM33hM4PI87cnaELIOQyjVthIu/8jIZHdZX86mdR Hc/LEdJe5w6A57jMc/ViPijd+AAS7Xpr7JGUoJVCgRTGvrF10Us6wkIBfNVDXr/vaXf6 A4S03ZB59w2m/k4F8DBNJt5KheNLGk8U0hhw9BmK6fuSEdDkPHWHaLTjQTl9eEoXurbl uZ9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722910889; x=1723515689; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=klWRv7jv+zR9aL4I7OIDRLjBsHfroErcwBIt7k9CqK8=; b=J+Bpx/i7AS2NJq19++r51xF+ZZqHxyjx2D/Mmy5q85mKpkpRomnKIv7UVLi92qAWM/ qwg7Kby1b+7AYUan3dSz0551WnpBhXIl4WNy2HG++Ja+WHdBxz8ZCWC2YTfeXMIEg+hw F4q57HViHkmYxYqCSU7xETeDh1DqZv2avjuy8OLjPmKdchkrePygR5YmDlSAX2ARMmug nQ/EJt+AM74hN2szmCiA3kvsYSPXV0s6cfvVRGV/dLIUOZDG2zgO6l2rcX+ArTjm2g4O 06a22pNNd4/ZNTWpS72jx1LReSxdleerWnTRvSlU9HWR4grzEsjg/iKDw6S6tmuBcBX1 4A1A== X-Forwarded-Encrypted: i=1; AJvYcCW6riluHlxlXh22nd0XV6G5TMZa4W8giFuEKLrOaEyI1fzh8nL3ZD0//Sam9i7pxLuP0UgCkOxKKznKWsr0HvEFFUE= X-Gm-Message-State: AOJu0Yxb3uPBZeM9Kk4/N7Dlk4eESd9LChaLieSMCmVZDEXnwoiT9ZPl 4VbcGFOXSeAS1qiJS/eVk+tVYg2VXmQItV49QR6uyGL6Q7miy7O71wh8RRzeyCqIROkdeRd4tcO lIA== X-Google-Smtp-Source: AGHT+IGBeIkNUsFUwrlBhpMmppS6FEO5hkHGCy4Rnvwll+98qZLKAoOlt7677TqFz3cp98ge6KT5O3g57gw= X-Received: from yuzhao2.bld.corp.google.com ([2a00:79e0:2e28:6:261c:802b:6b55:e09c]) (user=yuzhao job=sendgmr) by 2002:a05:6902:2b90:b0:e05:eccb:95dc with SMTP id 3f1490d57ef6-e0bde283222mr64471276.6.1722910889235; Mon, 05 Aug 2024 19:21:29 -0700 (PDT) Date: Mon, 5 Aug 2024 20:21:14 -0600 In-Reply-To: <20240806022114.3320543-1-yuzhao@google.com> Mime-Version: 1.0 References: <20240806022114.3320543-1-yuzhao@google.com> X-Mailer: git-send-email 2.46.0.rc2.264.g509ed76dc8-goog Message-ID: <20240806022114.3320543-5-yuzhao@google.com> Subject: [RFC PATCH 4/4] arm64: mm: Re-enable OPTIMIZE_HUGETLB_VMEMMAP From: Yu Zhao <yuzhao@google.com> To: Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org> Cc: Andrew Morton <akpm@linux-foundation.org>, David Rientjes <rientjes@google.com>, Douglas Anderson <dianders@chromium.org>, Frank van der Linden <fvdl@google.com>, Mark Rutland <mark.rutland@arm.com>, Muchun Song <muchun.song@linux.dev>, Nanyong Sun <sunnanyong@huawei.com>, Yang Shi <yang@os.amperecomputing.com>, linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Muchun Song <songmuchun@bytedance.com>, Yu Zhao <yuzhao@google.com> Content-Type: text/plain; charset="UTF-8" X-Rspam-User: X-Stat-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2 1wI8K+wr Y1MMFxJ3Mt/r+Jv20LXaWGI2pW0kqWyAGVcisoMdSluLwz6bkpILG52q4+0HogF4dhNQEwKk2MMam1JL+KNh3CcT8NiaN4i+wi9wFsInWZNdvkjaxoskCWj9X/VbkqVVoPkPbTTay6E3bFxX9AlKTogXXp9YSvz3lYQMF4gzOTyZBtcioRsugiHUxX39WaKHQ7fpyXoTMDyDxxhEz+R6qnvOjwe4QfGbWqwQ/IKzcv+JnG7WNJwlFlOJ2aDFbb15o4+mCSHirm9ej9VdtxTgVrC/aJjiJaRGybx/ir06c+ST0MrD7kpKGSk8v6439WqkgvxHrynjT2Lg0ngLuyTbVZCc4TnB/vEQ4jbxce8aaL0SJqqyRngA0n82p1LzuQdwk3bFUtX8JYHGZOVeOqhw3i/GBPmmhQdj8ZFKheJmNjhadvFW4bXWAwcCM4Cqac+zBjRYLy9DLD6dm9rzqbXXX/Qjsp1vVPIm6hw9euPP++tTr+LqkOefbyUyAl+Eg/evB+U/nAm1OlcFWwJF8q/NkDMafrXJTcFhnPbe60J0iqbCqCrDEq5lMaFbU7tyZqTgOJgMSLQXb3M+W/oeqExRcpA4N0ioCRo7tmdT3twA9l6rJTzc2FHfMBlcFe8xn0IrJyGv3 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000014, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
mm/arm64: re-enable HVO
|
expand
|
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index a2f8ff354ca6..25ff026cdaf5 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -105,6 +105,7 @@ config ARM64 select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT select ARCH_WANT_FRAME_POINTERS select ARCH_WANT_HUGE_PMD_SHARE if ARM64_4K_PAGES || (ARM64_16K_PAGES && !ARM64_VA_BITS_36) + select ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP select ARCH_WANT_LD_ORPHAN_WARN select ARCH_WANTS_EXECMEM_LATE if EXECMEM select ARCH_WANTS_NO_INSTR