Skip to content

Commit

Permalink
Merge branch 'mm-stable' of git://git.kernel.org/pub/scm/linux/kernel…
Browse files Browse the repository at this point in the history
…/git/akpm/mm

# Conflicts:
#	Documentation/translations/zh_CN/mm/free_page_reporting.rst
#	Documentation/translations/zh_CN/mm/frontswap.rst
#	Documentation/translations/zh_CN/mm/page_frags.rst
#	Documentation/translations/zh_CN/mm/page_migration.rst
#	Documentation/translations/zh_CN/mm/vmalloced-kernel-stacks.rst
#	Documentation/translations/zh_CN/mm/zsmalloc.rst
#	include/linux/pagevec.h
  • Loading branch information
Stephen Rothwell committed Jul 14, 2022
2 parents 941aead + 4f2930c commit c29c49b
Show file tree
Hide file tree
Showing 246 changed files with 3,490 additions and 1,413 deletions.
1 change: 1 addition & 0 deletions Documentation/ABI/testing/procfs-smaps_rollup
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Description:
MMUPageSize: 4 kB
Rss: 884 kB
Pss: 385 kB
Pss_Dirty: 68 kB
Pss_Anon: 301 kB
Pss_File: 80 kB
Pss_Shmem: 4 kB
Expand Down
2 changes: 1 addition & 1 deletion Documentation/ABI/testing/sysfs-kernel-mm-ksm
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Description: Kernel Samepage Merging daemon sysfs interface
sleep_millisecs: how many milliseconds ksm should sleep between
scans.

See Documentation/vm/ksm.rst for more information.
See Documentation/mm/ksm.rst for more information.

What: /sys/kernel/mm/ksm/merge_across_nodes
Date: January 2013
Expand Down
4 changes: 2 additions & 2 deletions Documentation/ABI/testing/sysfs-kernel-slab
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Description:
The alloc_calls file is read-only and lists the kernel code
locations from which allocations for this cache were performed.
The alloc_calls file only contains information if debugging is
enabled for that cache (see Documentation/vm/slub.rst).
enabled for that cache (see Documentation/mm/slub.rst).

What: /sys/kernel/slab/<cache>/alloc_fastpath
Date: February 2008
Expand Down Expand Up @@ -219,7 +219,7 @@ Contact: Pekka Enberg <penberg@cs.helsinki.fi>,
Description:
The free_calls file is read-only and lists the locations of
object frees if slab debugging is enabled (see
Documentation/vm/slub.rst).
Documentation/mm/slub.rst).

What: /sys/kernel/slab/<cache>/free_fastpath
Date: February 2008
Expand Down
24 changes: 18 additions & 6 deletions Documentation/admin-guide/cgroup-v2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1433,6 +1433,24 @@ PAGE_SIZE multiple when read back.
workingset_nodereclaim
Number of times a shadow node has been reclaimed

pgscan (npn)
Amount of scanned pages (in an inactive LRU list)

pgsteal (npn)
Amount of reclaimed pages

pgscan_kswapd (npn)
Amount of scanned pages by kswapd (in an inactive LRU list)

pgscan_direct (npn)
Amount of scanned pages directly (in an inactive LRU list)

pgsteal_kswapd (npn)
Amount of reclaimed pages by kswapd

pgsteal_direct (npn)
Amount of reclaimed pages directly

pgfault (npn)
Total number of page faults incurred

Expand All @@ -1442,12 +1460,6 @@ PAGE_SIZE multiple when read back.
pgrefill (npn)
Amount of scanned pages (in an active LRU list)

pgscan (npn)
Amount of scanned pages (in an inactive LRU list)

pgsteal (npn)
Amount of reclaimed pages

pgactivate (npn)
Amount of pages moved to the active LRU list

Expand Down
32 changes: 16 additions & 16 deletions Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1732,9 +1732,11 @@
Built with CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON=y,
the default is on.

This is not compatible with memory_hotplug.memmap_on_memory.
If both parameters are enabled, hugetlb_free_vmemmap takes
precedence over memory_hotplug.memmap_on_memory.
Note that the vmemmap pages may be allocated from the added
memory block itself when memory_hotplug.memmap_on_memory is
enabled, those vmemmap pages cannot be optimized even if this
feature is enabled. Other vmemmap pages not allocated from
the added memory block itself do not be affected.

hung_task_panic=
[KNL] Should the hung task detector generate panics.
Expand Down Expand Up @@ -3093,10 +3095,12 @@
[KNL,X86,ARM] Boolean flag to enable this feature.
Format: {on | off (default)}
When enabled, runtime hotplugged memory will
allocate its internal metadata (struct pages)
from the hotadded memory which will allow to
hotadd a lot of memory without requiring
additional memory to do so.
allocate its internal metadata (struct pages,
those vmemmap pages cannot be optimized even
if hugetlb_free_vmemmap is enabled) from the
hotadded memory which will allow to hotadd a
lot of memory without requiring additional
memory to do so.
This feature is disabled by default because it
has some implication on large (e.g. GB)
allocations in some configurations (e.g. small
Expand All @@ -3106,10 +3110,6 @@
Note that even when enabled, there are a few cases where
the feature is not effective.

This is not compatible with hugetlb_free_vmemmap. If
both parameters are enabled, hugetlb_free_vmemmap takes
precedence over memory_hotplug.memmap_on_memory.

memtest= [KNL,X86,ARM,M68K,PPC,RISCV] Enable memtest
Format: <integer>
default : 0 <disable>
Expand Down Expand Up @@ -5523,7 +5523,7 @@
cache (risks via metadata attacks are mostly
unchanged). Debug options disable merging on their
own.
For more information see Documentation/vm/slub.rst.
For more information see Documentation/mm/slub.rst.

slab_max_order= [MM, SLAB]
Determines the maximum allowed order for slabs.
Expand All @@ -5537,13 +5537,13 @@
slub_debug can create guard zones around objects and
may poison objects when not in use. Also tracks the
last alloc / free. For more information see
Documentation/vm/slub.rst.
Documentation/mm/slub.rst.

slub_max_order= [MM, SLUB]
Determines the maximum allowed order for slabs.
A high setting may cause OOMs due to memory
fragmentation. For more information see
Documentation/vm/slub.rst.
Documentation/mm/slub.rst.

slub_min_objects= [MM, SLUB]
The minimum number of objects per slab. SLUB will
Expand All @@ -5552,12 +5552,12 @@
the number of objects indicated. The higher the number
of objects the smaller the overhead of tracking slabs
and the less frequently locks need to be acquired.
For more information see Documentation/vm/slub.rst.
For more information see Documentation/mm/slub.rst.

slub_min_order= [MM, SLUB]
Determines the minimum page order for slabs. Must be
lower than slub_max_order.
For more information see Documentation/vm/slub.rst.
For more information see Documentation/mm/slub.rst.

slub_merge [MM, SLUB]
Same with slab_merge.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/admin-guide/mm/concepts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ processor. Each bank is referred to as a `node` and for each node Linux
constructs an independent memory management subsystem. A node has its
own set of zones, lists of free and used pages and various statistics
counters. You can find more details about NUMA in
:ref:`Documentation/vm/numa.rst <numa>` and in
:ref:`Documentation/mm/numa.rst <numa>` and in
:ref:`Documentation/admin-guide/mm/numa_memory_policy.rst <numa_memory_policy>`.

Page cache
Expand Down
3 changes: 2 additions & 1 deletion Documentation/admin-guide/mm/damon/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Monitoring Data Accesses
========================

:doc:`DAMON </vm/damon/index>` allows light-weight data access monitoring.
:doc:`DAMON </mm/damon/index>` allows light-weight data access monitoring.
Using DAMON, users can analyze the memory access patterns of their systems and
optimize those.

Expand All @@ -14,3 +14,4 @@ optimize those.
start
usage
reclaim
lru_sort
Loading

0 comments on commit c29c49b

Please sign in to comment.