All of lore.kernel.org
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: linux-arm-kernel@lists.infradead.org, will@kernel.org,
	Mark Rutland <mark.rutland@arm.com>,
	Ryan Roberts <ryan.roberts@arm.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Daniel Cashman <dcashman@google.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH V2] arm64/mm: Limit ARCH_MMAP_RND_BITS_MAX to 23 for 42-bit VA
Date: Fri, 4 Dec 2026 16:46:33 +0000	[thread overview]
Message-ID: <axLuaaPxp64rNIWk@arm.com> (raw)
In-Reply-To: <20261201034834.700673-1-anshuman.khandual@arm.com>

On Tue, Dec 01, 2026 at 09:18:34AM +0530, Anshuman Khandual wrote:
> The existing ARCH_MMAP_RND_BITS_MAX value of 27 for 42-bit VA (64K) pgtable
> configuration allows mmap() randomization range which exceeds the available
> user space address space constraints.
> 
> This can cause mmap() allocations to fail when the maximum randomization is
> enabled. Although it still requires CONFIG_EXPERT for ARCH_MMAP_RND_BITS to
> accept values up to ARCH_MMAP_RND_BITS_MAX.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>

      reply	other threads:[~2026-12-04 16:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01  3:48 [PATCH V2] arm64/mm: Limit ARCH_MMAP_RND_BITS_MAX to 23 for 42-bit VA Anshuman Khandual
2026-12-04 16:46 ` Catalin Marinas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=axLuaaPxp64rNIWk@arm.com \
    --to=catalin.marinas@arm.com \
    --cc=akpm@linux-foundation.org \
    --cc=anshuman.khandual@arm.com \
    --cc=dcashman@google.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=ryan.roberts@arm.com \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.