aboutsummaryrefslogtreecommitdiff
path: root/mm/Kconfig
diff options
context:
space:
mode:
authorGravatar Maíra Canal <mcanal@igalia.com> 2024-04-22 11:18:40 -0300
committerGravatar Jonathan Corbet <corbet@lwn.net> 2024-04-24 13:05:01 -0600
commitb413f9cd4cf0d8efd22245b960f9c162117f2762 (patch)
tree80678b2fad5c8125ee15edf0310a0a717c3d8828 /mm/Kconfig
parentadmin-guide/hw-vuln/core-scheduling: fix return type of PR_SCHED_CORE_GET (diff)
downloadlinux-b413f9cd4cf0d8efd22245b960f9c162117f2762.tar.gz
linux-b413f9cd4cf0d8efd22245b960f9c162117f2762.tar.bz2
linux-b413f9cd4cf0d8efd22245b960f9c162117f2762.zip
mm: Update shuffle documentation to match its current state
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`. Signed-off-by: Maíra Canal <mcanal@igalia.com> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/20240422142007.1062231-1-mcanal@igalia.com
Diffstat (limited to 'mm/Kconfig')
-rw-r--r--mm/Kconfig7
1 files changed, 3 insertions, 4 deletions
diff --git a/mm/Kconfig b/mm/Kconfig
index b1448aa81e15..f30a18a0e37d 100644
--- a/mm/Kconfig
+++ b/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.