Message ID | 20240619083047.114613-1-javierm@redhat.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 5D93AC2BA15 for <linux-mm@archiver.kernel.org>; Wed, 19 Jun 2024 08:31:05 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DFBFD8D0077; Wed, 19 Jun 2024 04:31:04 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id DABDA8D004F; Wed, 19 Jun 2024 04:31:04 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C4C258D0077; Wed, 19 Jun 2024 04:31:04 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 9F4438D004F for <linux-mm@kvack.org>; Wed, 19 Jun 2024 04:31:04 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 4FF7CA05A8 for <linux-mm@kvack.org>; Wed, 19 Jun 2024 08:31:04 +0000 (UTC) X-FDA: 82246968048.12.6F7CDB5 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf14.hostedemail.com (Postfix) with ESMTP id 20657100008 for <linux-mm@kvack.org>; Wed, 19 Jun 2024 08:31:01 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=UcdwwdrV; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf14.hostedemail.com: domain of javierm@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=javierm@redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1718785853; 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:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=U9QUnjG9G5UAVjU0gtzSEBrTZfmLXC0Hy4EAITPEAdY=; b=59X43qHca1VHjqPY8Vv+CMSnHpC209l8mlFFWqj23MJC8uwgfnlnUqBQCMr/8nHahx5oOg uXwvUC5TBiKqesc/UTafJgeOm6yff8j/TpDR6TecMjcOvwek2pnYksSN6YMSJXWoaV4NJ6 LkApSVB3F8QzP3cNJotbgk7s9H3lx70= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1718785853; a=rsa-sha256; cv=none; b=s9rOk25L5GzrFM6gqzqfDdSe0ycWmXUZzPXWuGnks2zqhHUWv2wjtxBmDvKAtad8oKBpWI rCstVqwDNIjecZN5cizyp39Xf+P4KgNb+MP5TyG4k87+nOSfkG7gH/8ZLrT5n6nP+64qch N8X5BbDbb6Cf7AtgN+0mvDi8mgOnxRY= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=UcdwwdrV; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf14.hostedemail.com: domain of javierm@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=javierm@redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1718785861; h=from:from: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:content-transfer-encoding; bh=U9QUnjG9G5UAVjU0gtzSEBrTZfmLXC0Hy4EAITPEAdY=; b=UcdwwdrVSWuZlFWmnmGn9A8OAQAFb5PgiRs06TWV6puO5enRqA/P3dCxxLitR5tfebYN9+ IGlVgwCvzOYhfFbSqfrnfay8DrbGEn1p/Poso7Zv7IbBPS2opqkHGHpgw9riwn7SMHnXaW aAhTJallH8stt6cXF2rgzdUP2DdqnMQ= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-596-eBzGT1cRPh6tidXy2WgEKA-1; Wed, 19 Jun 2024 04:31:00 -0400 X-MC-Unique: eBzGT1cRPh6tidXy2WgEKA-1 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-363edbfc61dso67091f8f.1 for <linux-mm@kvack.org>; Wed, 19 Jun 2024 01:30:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718785859; x=1719390659; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=U9QUnjG9G5UAVjU0gtzSEBrTZfmLXC0Hy4EAITPEAdY=; b=QqB2wbd5amBjZupPofjGxYNjN5OYNAc8JdLJEA0USbbxsfuRDuHWu+bu8m1BHUfhWz imBOJgekeTgea/MeNCK/CjDDP8nJxQnJgVz1p1rk8r7PXQkn6A5GpiYw+v9muCVEJWkr oYYI00Ls9RqtyeDD6fTN+OLPUj6XZi30Ua0Wzqd+Lcij28xpTQc1jEd6nbwLNLQYJX04 2kACZQ+FY9RaNu6RsrRhYwJqfLj7wubYEv45+qnILv2UEQaxE1Y4cxl2qi3F/ckNwwVJ Bj/mDJelhlKHRirzt+W5hlWwJFp0xVHwbnEXne2gRlkdfcXI2iVBPDiUbRZXB+Krogc2 w7NA== X-Forwarded-Encrypted: i=1; AJvYcCXqUayYxIhb6nq620Nv/szByNczgNruZl0Q0yQ7KDlQO/x73VE+nU2DzyGPM+q0pVb5PfUVxbaHmxIlzOooEDaUlcc= X-Gm-Message-State: AOJu0Yx7sLo4X375rvs+pieatqsU1f191SLxtJyZdE9I9hQsFcOnTjsI Q5i8bp5zFi80u5kzRWpAYZDyDgxFpb6yVM51st6qQiesEZi9pRlhfJ8pB8p5TVzVQRp32ZAUalN GwA8yqftmG+oLhMJXzFeF0cHroV/6ZFH49+uNvRpD5eMMUS1U X-Received: by 2002:adf:f105:0:b0:362:2e9b:f113 with SMTP id ffacd0b85a97d-363176ada3bmr1609330f8f.21.1718785858877; Wed, 19 Jun 2024 01:30:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEnRrCGvxkMPYQbJQL0bXRi/dcUVT+Rae1i6FGFpXKKzd5uOtKaQ9t9fQSBjF60Ds5H9qdNcQ== X-Received: by 2002:adf:f105:0:b0:362:2e9b:f113 with SMTP id ffacd0b85a97d-363176ada3bmr1609313f8f.21.1718785858354; Wed, 19 Jun 2024 01:30:58 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3609d31433dsm5202215f8f.5.2024.06.19.01.30.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jun 2024 01:30:58 -0700 (PDT) From: Javier Martinez Canillas <javierm@redhat.com> To: linux-kernel@vger.kernel.org Cc: Brian Masney <bmasney@redhat.com>, linux-arm-kernel@lists.infradead.org, Maxime Ripard <mripard@kernel.org>, Javier Martinez Canillas <javierm@redhat.com>, Andrew Morton <akpm@linux-foundation.org>, linux-mm@kvack.org Subject: [PATCH] mm/Kconfig: Mention arm64 in DEFAULT_MMAP_MIN_ADDR symbol help text Date: Wed, 19 Jun 2024 10:30:38 +0200 Message-ID: <20240619083047.114613-1-javierm@redhat.com> X-Mailer: git-send-email 2.45.1 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 20657100008 X-Stat-Signature: ppnxpr93dbhuass141iztpu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taEweRYIKm74n3DgYUcfqNltVSmqnnabhABwwUDeosRVK8Zvr+vaog84KlxkEz9oEg8CnGPPmYC9/0ww3gurvOkJDkk5NnV6DaOVSAkrPMEg0uy//icEG7WzqSodAJsDd8YZUQV4izeBmdGs8Ci7xLEkyyd/03gCfnQoHFmm8xSr20T85isTmBpsnPO5hEjR6snLsXR5oABTUaJ0arqha40Th9uuhG8VzusiEdyIR3d+3qBUCPZcrB6G2pmIY7J7BfAGTrt5mBZE3qav1ipFwZToN3An07s02lUy8rSivsimfkopUdpP/jW07GBTtR6TPKO+3HahoW++7kO X-Bogosity: Ham, tests=bogofilter, spamicity=0.000099, 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/Kconfig: Mention arm64 in DEFAULT_MMAP_MIN_ADDR symbol help text
|
expand
|
diff --git a/mm/Kconfig b/mm/Kconfig index b4cb45255a54..f7de1e3d6c5f 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -714,7 +714,7 @@ config DEFAULT_MMAP_MIN_ADDR from userspace allocation. Keeping a user from writing to low pages can help reduce the impact of kernel NULL pointer bugs. - For most ppc64 and x86 users with lots of address space + For most arm64, ppc64 and x86 users with lots of address space a value of 65536 is reasonable and should cause no problems. On arm and other archs it should not be higher than 32768. Programs which use vm86 functionality or have some need to map
Currently ppc64 and x86 are mentioned as architectures where a 65536 value is reasonable but arm64 isn't listed and it is also a 64-bit architecture. The help text says that for "arm" the value should be no higher than 32768 but it's only talking about 32-bit ARM. Adding arm64 to the above list can make this more clear and avoid confusing users who may think that the 32k limit would also apply to 64-bit ARM. Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> --- mm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)