* [merged] mm-update-shuffle-documentation-to-match-its-current-state.patch removed from -mm tree
@ 2024-04-24 20:38 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2024-04-24 20:38 UTC (permalink / raw)
To: mm-commits, ying.huang, tj, richard.weiyang, minchan, mhocko,
mgorman, jpoimboe, hannes, david, dan.j.williams, corbet, mcanal,
akpm
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3568 bytes --]
The quilt patch titled
Subject: mm: Update shuffle documentation to match its current state
has been removed from the -mm tree. Its filename was
mm-update-shuffle-documentation-to-match-its-current-state.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Maíra Canal <mcanal@igalia.com>
Subject: mm: Update shuffle documentation to match its current state
Date: Mon, 22 Apr 2024 11:18:40 -0300
Commit 839195352d82 ("mm/shuffle: remove dynamic reconfiguration") removed
the dynamic reconfiguration capabilities from the shuffle page allocator.
This means that, now, we don't have any perspective of an "autodetection
of memory-side-cache" that triggers the enablement of the shuffle page
allocator.
Therefore, let the documentation reflect that the only way to enable
the shuffle page allocator is by setting `page_alloc.shuffle=1`.
Link: https://lkml.kernel.org/r/20240422142007.1062231-1-mcanal@igalia.com
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: "Huang, Ying" <ying.huang@intel.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Josh Poimboeuf <jpoimboe@kernel.org>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Cc: Wei Yang <richard.weiyang@linux.alibaba.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
Documentation/admin-guide/kernel-parameters.txt | 10 ++++------
mm/Kconfig | 7 +++----
2 files changed, 7 insertions(+), 10 deletions(-)
--- a/Documentation/admin-guide/kernel-parameters.txt~mm-update-shuffle-documentation-to-match-its-current-state
+++ a/Documentation/admin-guide/kernel-parameters.txt
@@ -4176,13 +4176,11 @@
page_alloc.shuffle=
[KNL] Boolean flag to control whether the page allocator
- should randomize its free lists. The randomization may
- be automatically enabled if the kernel detects it is
- running on a platform with a direct-mapped memory-side
- cache, and this parameter can be used to
- override/disable that behavior. The state of the flag
- can be read from sysfs at:
+ should randomize its free lists. This parameter can be
+ used to enable/disable page randomization. The state of
+ the flag can be read from sysfs at:
/sys/module/page_alloc/parameters/shuffle.
+ This parameter is only available if CONFIG_SHUFFLE_PAGE_ALLOCATOR=y.
page_owner= [KNL,EARLY] Boot-time page_owner enabling option.
Storage of the information about who allocated
--- a/mm/Kconfig~mm-update-shuffle-documentation-to-match-its-current-state
+++ a/mm/Kconfig
@@ -333,10 +333,9 @@ config SHUFFLE_PAGE_ALLOCATOR
While the randomization improves cache utilization it may
negatively impact workloads on platforms without a cache. For
- this reason, by default, the randomization is enabled only
- after runtime detection of a direct-mapped memory-side-cache.
- Otherwise, the randomization may be force enabled with the
- 'page_alloc.shuffle' kernel command line parameter.
+ this reason, by default, the randomization is not enabled even
+ if SHUFFLE_PAGE_ALLOCATOR=y. The randomization may be force enabled
+ with the 'page_alloc.shuffle' kernel command line parameter.
Say Y if unsure.
_
Patches currently in -mm which might be from mcanal@igalia.com are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-24 20:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-24 20:38 [merged] mm-update-shuffle-documentation-to-match-its-current-state.patch removed from -mm tree Andrew Morton
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.