diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-09 22:26:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-09 22:26:14 -0400 |
commit | 0cf744bc7ae8e0072159a901f6e1a159bbc30ffa (patch) | |
tree | fc8222a3a5af4f42226070c3f76462cfcf0b4e50 /Documentation/ABI | |
parent | b528392669415dc1e53a047215e5ad6c2de879fc (diff) | |
parent | 7f8998c7aef3ac9c5f3f2943e083dfa6302e90d0 (diff) |
Merge branch 'akpm' (fixes from Andrew Morton)
Merge patch-bomb from Andrew Morton:
- part of OCFS2 (review is laggy again)
- procfs
- slab
- all of MM
- zram, zbud
- various other random things: arch, filesystems.
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (164 commits)
nosave: consolidate __nosave_{begin,end} in <asm/sections.h>
include/linux/screen_info.h: remove unused ORIG_* macros
kernel/sys.c: compat sysinfo syscall: fix undefined behavior
kernel/sys.c: whitespace fixes
acct: eliminate compile warning
kernel/async.c: switch to pr_foo()
include/linux/blkdev.h: use NULL instead of zero
include/linux/kernel.h: deduplicate code implementing clamp* macros
include/linux/kernel.h: rewrite min3, max3 and clamp using min and max
alpha: use Kbuild logic to include <asm-generic/sections.h>
frv: remove deprecated IRQF_DISABLED
frv: remove unused cpuinfo_frv and friends to fix future build error
zbud: avoid accessing last unused freelist
zsmalloc: simplify init_zspage free obj linking
mm/zsmalloc.c: correct comment for fullness group computation
zram: use notify_free to account all free notifications
zram: report maximum used memory
zram: zram memory size limitation
zsmalloc: change return value unit of zs_get_total_size_bytes
zsmalloc: move pages_allocated to zs_pool
...
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/stable/sysfs-devices-node | 8 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-block-zram | 32 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-devices-memory | 8 |
3 files changed, 35 insertions, 13 deletions
diff --git a/Documentation/ABI/stable/sysfs-devices-node b/Documentation/ABI/stable/sysfs-devices-node index ce259c13c36a..5b2d0f08867c 100644 --- a/Documentation/ABI/stable/sysfs-devices-node +++ b/Documentation/ABI/stable/sysfs-devices-node | |||
@@ -85,14 +85,6 @@ Description: | |||
85 | will be compacted. When it completes, memory will be freed | 85 | will be compacted. When it completes, memory will be freed |
86 | into blocks which have as many contiguous pages as possible | 86 | into blocks which have as many contiguous pages as possible |
87 | 87 | ||
88 | What: /sys/devices/system/node/nodeX/scan_unevictable_pages | ||
89 | Date: October 2008 | ||
90 | Contact: Lee Schermerhorn <lee.schermerhorn@hp.com> | ||
91 | Description: | ||
92 | When set, it triggers scanning the node's unevictable lists | ||
93 | and move any pages that have become evictable onto the respective | ||
94 | zone's inactive list. See mm/vmscan.c | ||
95 | |||
96 | What: /sys/devices/system/node/nodeX/hugepages/hugepages-<size>/ | 88 | What: /sys/devices/system/node/nodeX/hugepages/hugepages-<size>/ |
97 | Date: December 2009 | 89 | Date: December 2009 |
98 | Contact: Lee Schermerhorn <lee.schermerhorn@hp.com> | 90 | Contact: Lee Schermerhorn <lee.schermerhorn@hp.com> |
diff --git a/Documentation/ABI/testing/sysfs-block-zram b/Documentation/ABI/testing/sysfs-block-zram index 70ec992514d0..a6148eaf91e5 100644 --- a/Documentation/ABI/testing/sysfs-block-zram +++ b/Documentation/ABI/testing/sysfs-block-zram | |||
@@ -77,11 +77,14 @@ What: /sys/block/zram<id>/notify_free | |||
77 | Date: August 2010 | 77 | Date: August 2010 |
78 | Contact: Nitin Gupta <ngupta@vflare.org> | 78 | Contact: Nitin Gupta <ngupta@vflare.org> |
79 | Description: | 79 | Description: |
80 | The notify_free file is read-only and specifies the number of | 80 | The notify_free file is read-only. Depending on device usage |
81 | swap slot free notifications received by this device. These | 81 | scenario it may account a) the number of pages freed because |
82 | notifications are sent to a swap block device when a swap slot | 82 | of swap slot free notifications or b) the number of pages freed |
83 | is freed. This statistic is applicable only when this disk is | 83 | because of REQ_DISCARD requests sent by bio. The former ones |
84 | being used as a swap disk. | 84 | are sent to a swap block device when a swap slot is freed, which |
85 | implies that this disk is being used as a swap disk. The latter | ||
86 | ones are sent by filesystem mounted with discard option, | ||
87 | whenever some data blocks are getting discarded. | ||
85 | 88 | ||
86 | What: /sys/block/zram<id>/zero_pages | 89 | What: /sys/block/zram<id>/zero_pages |
87 | Date: August 2010 | 90 | Date: August 2010 |
@@ -119,3 +122,22 @@ Description: | |||
119 | efficiency can be calculated using compr_data_size and this | 122 | efficiency can be calculated using compr_data_size and this |
120 | statistic. | 123 | statistic. |
121 | Unit: bytes | 124 | Unit: bytes |
125 | |||
126 | What: /sys/block/zram<id>/mem_used_max | ||
127 | Date: August 2014 | ||
128 | Contact: Minchan Kim <minchan@kernel.org> | ||
129 | Description: | ||
130 | The mem_used_max file is read/write and specifies the amount | ||
131 | of maximum memory zram have consumed to store compressed data. | ||
132 | For resetting the value, you should write "0". Otherwise, | ||
133 | you could see -EINVAL. | ||
134 | Unit: bytes | ||
135 | |||
136 | What: /sys/block/zram<id>/mem_limit | ||
137 | Date: August 2014 | ||
138 | Contact: Minchan Kim <minchan@kernel.org> | ||
139 | Description: | ||
140 | The mem_limit file is read/write and specifies the maximum | ||
141 | amount of memory ZRAM can use to store the compressed data. The | ||
142 | limit could be changed in run time and "0" means disable the | ||
143 | limit. No limit is the initial state. Unit: bytes | ||
diff --git a/Documentation/ABI/testing/sysfs-devices-memory b/Documentation/ABI/testing/sysfs-devices-memory index 7405de26ee60..deef3b5723cf 100644 --- a/Documentation/ABI/testing/sysfs-devices-memory +++ b/Documentation/ABI/testing/sysfs-devices-memory | |||
@@ -61,6 +61,14 @@ Users: hotplug memory remove tools | |||
61 | http://www.ibm.com/developerworks/wikis/display/LinuxP/powerpc-utils | 61 | http://www.ibm.com/developerworks/wikis/display/LinuxP/powerpc-utils |
62 | 62 | ||
63 | 63 | ||
64 | What: /sys/devices/system/memory/memoryX/valid_zones | ||
65 | Date: July 2014 | ||
66 | Contact: Zhang Zhen <zhenzhang.zhang@huawei.com> | ||
67 | Description: | ||
68 | The file /sys/devices/system/memory/memoryX/valid_zones is | ||
69 | read-only and is designed to show which zone this memory | ||
70 | block can be onlined to. | ||
71 | |||
64 | What: /sys/devices/system/memoryX/nodeY | 72 | What: /sys/devices/system/memoryX/nodeY |
65 | Date: October 2009 | 73 | Date: October 2009 |
66 | Contact: Linux Memory Management list <linux-mm@kvack.org> | 74 | Contact: Linux Memory Management list <linux-mm@kvack.org> |