2007-10-17 14:31:17 +08:00
|
|
|
00-INDEX
|
|
|
|
- this file.
|
2009-04-14 05:40:09 +08:00
|
|
|
active_mm.txt
|
|
|
|
- An explanation from Linus about tsk->active_mm vs tsk->mm.
|
2007-10-17 14:31:17 +08:00
|
|
|
balance
|
|
|
|
- various information on memory balancing.
|
2013-09-11 20:43:20 +08:00
|
|
|
cleancache.txt
|
|
|
|
- Intro to cleancache and page-granularity victim cache.
|
|
|
|
frontswap.txt
|
|
|
|
- Outline frontswap, part of the transcendent memory frontend.
|
|
|
|
highmem.txt
|
|
|
|
- Outline of highmem and common issues.
|
2007-10-17 14:31:17 +08:00
|
|
|
hugetlbpage.txt
|
|
|
|
- a brief summary of hugetlbpage support in the Linux kernel.
|
2017-05-04 05:55:22 +08:00
|
|
|
hugetlbfs_reserv.txt
|
|
|
|
- A brief overview of hugetlbfs reservation design/implementation.
|
2010-03-11 07:21:58 +08:00
|
|
|
hwpoison.txt
|
|
|
|
- explains what hwpoison is
|
mm: introduce idle page tracking
Knowing the portion of memory that is not used by a certain application or
memory cgroup (idle memory) can be useful for partitioning the system
efficiently, e.g. by setting memory cgroup limits appropriately.
Currently, the only means to estimate the amount of idle memory provided
by the kernel is /proc/PID/{clear_refs,smaps}: the user can clear the
access bit for all pages mapped to a particular process by writing 1 to
clear_refs, wait for some time, and then count smaps:Referenced. However,
this method has two serious shortcomings:
- it does not count unmapped file pages
- it affects the reclaimer logic
To overcome these drawbacks, this patch introduces two new page flags,
Idle and Young, and a new sysfs file, /sys/kernel/mm/page_idle/bitmap.
A page's Idle flag can only be set from userspace by setting bit in
/sys/kernel/mm/page_idle/bitmap at the offset corresponding to the page,
and it is cleared whenever the page is accessed either through page tables
(it is cleared in page_referenced() in this case) or using the read(2)
system call (mark_page_accessed()). Thus by setting the Idle flag for
pages of a particular workload, which can be found e.g. by reading
/proc/PID/pagemap, waiting for some time to let the workload access its
working set, and then reading the bitmap file, one can estimate the amount
of pages that are not used by the workload.
The Young page flag is used to avoid interference with the memory
reclaimer. A page's Young flag is set whenever the Access bit of a page
table entry pointing to the page is cleared by writing to the bitmap file.
If page_referenced() is called on a Young page, it will add 1 to its
return value, therefore concealing the fact that the Access bit was
cleared.
Note, since there is no room for extra page flags on 32 bit, this feature
uses extended page flags when compiled on 32 bit.
[akpm@linux-foundation.org: fix build]
[akpm@linux-foundation.org: kpageidle requires an MMU]
[akpm@linux-foundation.org: decouple from page-flags rework]
Signed-off-by: Vladimir Davydov <vdavydov@parallels.com>
Reviewed-by: Andres Lagar-Cavilla <andreslc@google.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Greg Thelen <gthelen@google.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-09-10 06:35:45 +08:00
|
|
|
idle_page_tracking.txt
|
|
|
|
- description of the idle page tracking feature.
|
2009-09-22 08:02:24 +08:00
|
|
|
ksm.txt
|
|
|
|
- how to use the Kernel Samepage Merging feature.
|
2007-10-17 14:31:17 +08:00
|
|
|
numa
|
|
|
|
- information about NUMA specific code in the Linux vm.
|
|
|
|
numa_memory_policy.txt
|
|
|
|
- documentation of concepts and APIs of the 2.6 memory policy support.
|
|
|
|
overcommit-accounting
|
|
|
|
- description of the Linux kernels overcommit handling modes.
|
|
|
|
page_migration
|
|
|
|
- description of page migration in NUMA systems.
|
2010-03-11 07:21:58 +08:00
|
|
|
pagemap.txt
|
|
|
|
- pagemap, from the userspace perspective
|
2007-10-17 14:31:17 +08:00
|
|
|
slub.txt
|
|
|
|
- a short users guide for SLUB.
|
2013-09-11 20:43:20 +08:00
|
|
|
soft-dirty.txt
|
|
|
|
- short explanation for soft-dirty PTEs
|
2014-02-11 06:25:33 +08:00
|
|
|
split_page_table_lock
|
|
|
|
- Separate per-table lock to improve scalability of the old page_table_lock.
|
2013-09-11 20:43:20 +08:00
|
|
|
transhuge.txt
|
|
|
|
- Transparent Hugepage Support, alternative way of using hugepages.
|
2010-03-11 07:21:58 +08:00
|
|
|
unevictable-lru.txt
|
|
|
|
- Unevictable LRU infrastructure
|
2013-09-11 20:43:20 +08:00
|
|
|
zswap.txt
|
|
|
|
- Intro to compressed cache for swap pages
|