| /linux-6.15/tools/testing/selftests/cgroup/ |
| H A D | memcg_protection.m | 5 % This script simulates reclaim protection behavior on a single level of memcg 10 % reclaim) and then the reclaim starts, all memory is reclaimable, i.e. treated 11 % same. It simulates only non-low reclaim and assumes all memory.min = 0. 27 % Minimal reclaim amount (GB) 72 % nothing to reclaim, reached equilibrium 79 % XXX here I do parallel reclaim of all siblings 80 % in reality reclaim is serialized and each sibling recalculates own residual
|
| /linux-6.15/Documentation/core-api/ |
| H A D | gfp_mask-from-fs-io.rst | 15 memory reclaim calling back into the FS or IO paths and blocking on 25 of GFP_NOFS/GFP_NOIO can lead to memory over-reclaim or other memory 26 reclaim issues. 44 any critical section with respect to the reclaim is started - e.g. 45 lock shared with the reclaim context or when a transaction context 46 nesting would be possible via reclaim. The restore function should be 48 explanation what is the reclaim context for easier maintenance.
|
| H A D | memory-allocation.rst | 43 direct reclaim may be triggered under memory pressure; the calling 46 handler, use ``GFP_NOWAIT``. This flag prevents direct reclaim and 75 prevent recursion deadlocks caused by direct memory reclaim calling 88 GFP flags and reclaim behavior 90 Memory allocations may trigger direct or background reclaim and it is 96 doesn't kick the background reclaim. Should be used carefully because it 98 reclaim. 102 context but can wake kswapd to reclaim memory if the zone is below 112 * ``GFP_KERNEL`` - both background and direct reclaim are allowed and the 120 reclaim (one round of reclaim in this implementation). The OOM killer [all …]
|
| /linux-6.15/Documentation/ABI/testing/ |
| H A D | sysfs-kernel-mm-numa | 9 Description: Enable/disable demoting pages during reclaim 11 Page migration during reclaim is intended for systems 16 Allowing page migration during reclaim enables these
|
| /linux-6.15/Documentation/mm/ |
| H A D | multigen_lru.rst | 7 page reclaim and improves performance under memory pressure. Page 8 reclaim decides the kernel's caching policy and ability to overcommit 110 eviction. They form a closed-loop system, i.e., the page reclaim. 174 ignored when the current memcg is under reclaim. Similarly, page table 175 walkers will ignore pages from nodes other than the one under reclaim. 187 can incur the highest CPU cost in the reclaim path. 228 global reclaim, which is critical to system-wide memory overcommit in 229 data centers. Note that memcg LRU only applies to global reclaim. 241 In terms of global reclaim, it has two distinct features: 245 2. Eventual fairness, which allows direct reclaim to bail out at will [all …]
|
| /linux-6.15/Documentation/admin-guide/mm/ |
| H A D | multigen_lru.rst | 7 page reclaim and improves performance under memory pressure. Page 8 reclaim decides the kernel's caching policy and ability to overcommit 138 Proactive reclaim 140 Proactive reclaim induces page reclaim when there is no memory 142 comes in, the job scheduler wants to proactively reclaim cold pages on
|
| /linux-6.15/Documentation/admin-guide/device-mapper/ |
| H A D | dm-zoned.rst | 27 internally for storing metadata and performing reclaim operations. 108 situation, a reclaim process regularly scans used conventional zones and 109 tries to reclaim the least recently used zones by copying the valid 128 (for both incoming BIO processing and reclaim process) and all dirty 184 Normally the reclaim process will be started once there are less than 50 185 percent free random zones. In order to start the reclaim process manually 191 dmsetup message /dev/dm-X 0 reclaim 193 will start the reclaim process and random zones will be moved to sequential
|
| /linux-6.15/arch/x86/kernel/cpu/sgx/ |
| H A D | encl.h | 119 struct sgx_epc_page *sgx_alloc_va_page(bool reclaim); 126 struct sgx_va_page *sgx_encl_grow(struct sgx_encl *encl, bool reclaim);
|
| H A D | sgx.h | 92 struct sgx_epc_page *sgx_alloc_epc_page(void *owner, bool reclaim);
|
| /linux-6.15/Documentation/translations/zh_TW/admin-guide/mm/damon/ |
| H A D | index.rst | 24 reclaim
|
| /linux-6.15/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
| H A D | index.rst | 24 reclaim
|
| /linux-6.15/Documentation/admin-guide/mm/damon/ |
| H A D | index.rst | 16 reclaim
|
| /linux-6.15/mm/damon/ |
| H A D | Makefile | 7 obj-$(CONFIG_DAMON_RECLAIM) += modules-common.o reclaim.o
|
| H A D | Kconfig | 75 bool "Build DAMON-based reclaim (DAMON_RECLAIM)" 79 that not accessed for a long time (cold) using DAMON and reclaim
|
| /linux-6.15/tools/testing/selftests/damon/ |
| H A D | Makefile | 13 TEST_PROGS += reclaim.sh lru_sort.sh
|
| /linux-6.15/Documentation/admin-guide/sysctl/ |
| H A D | vm.rst | 550 A percentage of the total pages in each zone. On Zone reclaim 554 systems that rarely perform global reclaim. 558 Note that slab reclaim is triggered in a per zone / node fashion. 568 This is a percentage of the total pages in each zone. Zone reclaim will 1017 This percentage value controls the tendency of the kernel to reclaim 1026 causes the kernel to prefer to reclaim dentries and inodes. 1065 A high rate of threads entering direct reclaim (allocstall) or kswapd 1083 1 Zone reclaim on 1084 2 Zone reclaim writes dirty pages out 1085 4 Zone reclaim swaps pages [all …]
|
| /linux-6.15/drivers/media/mmc/siano/ |
| H A D | smssdio.c | 303 goto reclaim; in smssdio_probe() 307 reclaim: in smssdio_probe()
|
| /linux-6.15/drivers/md/ |
| H A D | dm-zoned-target.c | 422 dmz_reclaim_bio_acc(zone->dev->reclaim); in dmz_handle_bio() 927 ret = dmz_ctr_reclaim(dmz->metadata, &dmz->dev[i].reclaim, i); in dmz_ctr() 969 dmz_dtr_reclaim(dmz->dev[i].reclaim); in dmz_dtr() 1041 dmz_suspend_reclaim(dmz->dev[i].reclaim); in dmz_suspend() 1055 dmz_resume_reclaim(dmz->dev[i].reclaim); in dmz_resume() 1132 dmz_schedule_reclaim(dmz->dev[i].reclaim); in dmz_message()
|
| H A D | dm-zoned.h | 57 struct dmz_reclaim *reclaim; member 289 dmz_reclaim_bio_acc(zone->dev->reclaim); in dmz_deactivate_zone()
|
| /linux-6.15/drivers/usb/host/ |
| H A D | oxu210hp-hcd.c | 2070 next = qh->reclaim; in end_unlink_async() 2071 oxu->reclaim = next; in end_unlink_async() 2073 qh->reclaim = NULL; in end_unlink_async() 2092 oxu->reclaim = NULL; in end_unlink_async() 2115 && !oxu->reclaim) { in start_unlink_async() 2808 && oxu->reclaim in unlink_async() 2813 last->reclaim; in unlink_async() 2817 last->reclaim = qh; in unlink_async() 2964 if (oxu->reclaim) { in oxu_watchdog() 3012 oxu->reclaim = NULL; in oxu_hcd_init() [all …]
|
| /linux-6.15/Documentation/admin-guide/cgroup-v1/ |
| H A D | memory.rst | 87 memory.force_empty trigger forced page reclaim 204 More details can be found in the reclaim section of this document. 288 to reclaim memory from the cgroup so as to make space for the new 289 pages that the cgroup has touched. If the reclaim is unsuccessful, 293 The reclaim algorithm has not been modified for cgroups, except that 345 to trigger slab reclaim when those limits are reached. 627 Please note that unlike during the global reclaim, limit reclaim 630 if there are no file pages to reclaim. 698 6.1 Hierarchical accounting and reclaim 728 hints/setup. Currently soft limit based reclaim is set up such that [all …]
|
| /linux-6.15/Documentation/accounting/ |
| H A D | taskstats-struct.rst | 38 6) Extended delay accounting fields for memory reclaim 191 6) Extended delay accounting fields for memory reclaim:: 193 /* Delay waiting for memory reclaim */
|
| /linux-6.15/samples/damon/ |
| H A D | Kconfig | 26 proactively reclaim the regions.
|
| /linux-6.15/fs/bcachefs/ |
| H A D | alloc_types.h | 33 x(reclaim) \
|
| /linux-6.15/include/linux/lockd/ |
| H A D | xdr.h | 69 u32 reclaim; member
|