/Linux-v5.10/Documentation/core-api/ |
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.
|
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 74 prevent recursion deadlocks caused by direct memory reclaim calling 87 GFP flags and reclaim behavior 89 Memory allocations may trigger direct or background reclaim and it is 95 doesn't kick the background reclaim. Should be used carefully because it 97 reclaim. 101 context but can wake kswapd to reclaim memory if the zone is below 111 * ``GFP_KERNEL`` - both background and direct reclaim are allowed and the 119 reclaim (one round of reclaim in this implementation). The OOM killer [all …]
|
D | workqueue.rst | 143 on code paths that handle memory reclaim are required to be queued on 190 All wq which might be used in the memory reclaim paths **MUST** 330 items which are used during memory reclaim. Each wq with 333 reclaim, they should be queued to separate wq each with 344 which are not involved in memory reclaim and don't need to be
|
/Linux-v5.10/Documentation/admin-guide/device-mapper/ |
D | dm-zoned.rst | 27 internally for storing metadata and performaing 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-v5.10/Documentation/admin-guide/sysctl/ |
D | vm.rst | 280 reclaim to satisfy a high-order allocation. The extfrag/extfrag_index file in 493 A percentage of the total pages in each zone. On Zone reclaim 497 systems that rarely perform global reclaim. 501 Note that slab reclaim is triggered in a per zone / node fashion. 511 This is a percentage of the total pages in each zone. Zone reclaim will 905 This percentage value controls the tendency of the kernel to reclaim 909 reclaim dentries and inodes at a "fair" rate with respect to pagecache and 910 swapcache reclaim. Decreasing vfs_cache_pressure causes the kernel to prefer 912 never reclaim dentries and inodes due to memory pressure and this can easily 914 causes the kernel to prefer to reclaim dentries and inodes. [all …]
|
/Linux-v5.10/include/linux/ |
D | page-flags.h | 381 PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) in PAGEFLAG() 382 TESTCLEARFLAG(Reclaim, reclaim, PF_NO_TAIL) in PAGEFLAG() 383 PAGEFLAG(Readahead, reclaim, PF_NO_COMPOUND) in PAGEFLAG() 384 TESTCLEARFLAG(Readahead, reclaim, PF_NO_COMPOUND) in PAGEFLAG()
|
/Linux-v5.10/drivers/usb/host/ |
D | oxu210hp-hcd.c | 332 struct ehci_qh *reclaim; /* next to reclaim */ member 424 struct ehci_qh *reclaim; member 2083 struct ehci_qh *qh = oxu->reclaim; in end_unlink_async() 2093 next = qh->reclaim; in end_unlink_async() 2094 oxu->reclaim = next; in end_unlink_async() 2096 qh->reclaim = NULL; in end_unlink_async() 2115 oxu->reclaim = NULL; in end_unlink_async() 2130 BUG_ON(oxu->reclaim || (qh->qh_state != QH_STATE_LINKED in start_unlink_async() 2138 && !oxu->reclaim) { in start_unlink_async() 2149 oxu->reclaim = qh = qh_get(qh); in start_unlink_async() [all …]
|
/Linux-v5.10/include/linux/lockd/ |
D | xdr.h | 66 u32 reclaim; member
|
/Linux-v5.10/drivers/media/mmc/siano/ |
D | smssdio.c | 303 goto reclaim; in smssdio_probe() 307 reclaim: in smssdio_probe()
|
/Linux-v5.10/Documentation/accounting/ |
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 */
|
D | delay-accounting.rst | 15 d) memory reclaim 48 delay seen for cpu, sync block I/O, swapin, memory reclaim etc.
|
/Linux-v5.10/drivers/md/ |
D | dm-zoned-target.c | 423 dmz_reclaim_bio_acc(zone->dev->reclaim); in dmz_handle_bio() 931 ret = dmz_ctr_reclaim(dmz->metadata, &dmz->dev[i].reclaim, i); in dmz_ctr() 974 dmz_dtr_reclaim(dmz->dev[i].reclaim); in dmz_dtr() 1047 dmz_suspend_reclaim(dmz->dev[i].reclaim); in dmz_suspend() 1061 dmz_resume_reclaim(dmz->dev[i].reclaim); in dmz_resume() 1136 dmz_schedule_reclaim(dmz->dev[i].reclaim); in dmz_message()
|
D | dm-zoned.h | 57 struct dmz_reclaim *reclaim; member 292 dmz_reclaim_bio_acc(zone->dev->reclaim); in dmz_deactivate_zone()
|
D | dm-zoned-reclaim.c | 554 struct dmz_reclaim **reclaim, int idx) in dmz_ctr_reclaim() argument 584 *reclaim = zrc; in dmz_ctr_reclaim()
|
/Linux-v5.10/Documentation/admin-guide/cgroup-v1/ |
D | memory.rst | 80 memory.force_empty trigger forced page reclaim 180 charged is over its limit. If it is, then reclaim is invoked on the cgroup. 181 More details can be found in the reclaim section of this document. 266 to reclaim memory from the cgroup so as to make space for the new 267 pages that the cgroup has touched. If the reclaim is unsuccessful, 271 The reclaim algorithm has not been modified for cgroups, except that 324 to trigger slab reclaim when those limits are reached. 372 In the current implementation, memory reclaim will NOT be 377 Since kmem charges will also be fed to the user counter and reclaim will be 611 Please note that unlike during the global reclaim, limit reclaim [all …]
|
/Linux-v5.10/fs/lockd/ |
D | clntproc.c | 278 if (host->h_reclaiming && !argp->reclaim) in nlmclnt_call() 308 if (argp->reclaim) { in nlmclnt_call() 314 if (!argp->reclaim) { in nlmclnt_call() 632 req->a_args.reclaim = 1; in nlmclnt_reclaim()
|
/Linux-v5.10/Documentation/admin-guide/mm/ |
D | concepts.rst | 182 repurposing them is called (surprise!) `reclaim`. Linux can reclaim 193 will trigger `direct reclaim`. In this case allocation is stalled 211 Like reclaim, the compaction may happen asynchronously in the ``kcompactd`` 218 kernel will be unable to reclaim enough memory to continue to operate. In
|
D | transhuge.rst | 125 allocation failure and directly reclaim pages and compact 132 to reclaim pages and wake kcompactd to compact memory so that 137 will enter direct reclaim and compaction like ``always``, but 139 other regions will wake kswapd in the background to reclaim 144 will enter direct reclaim like ``always`` but only for regions
|
/Linux-v5.10/Documentation/vm/ |
D | z3fold.rst | 29 depend on MMU enabled and provides more predictable reclaim behavior
|
D | unevictable-lru.rst | 32 reclaim in Linux. The problems have been observed at customer sites on large 110 not attempt to reclaim pages on the unevictable list. This has a couple of 113 (1) Because the pages are "hidden" from reclaim on the unevictable list, the 114 reclaim process can be more efficient, dealing only with pages that have a 271 reclaim a page in a VM_LOCKED VMA via try_to_unmap() 333 it later if and when it attempts to reclaim the page. 408 This is fine, because we'll catch it later if and if vmscan tries to reclaim 536 try_to_unmap() is always called, by either vmscan for reclaim or for page 543 When trying to reclaim, if try_to_unmap_one() finds the page in a VM_LOCKED 550 munlock or munmap system calls, mm teardown (munlock_vma_pages_all), reclaim,
|
D | balance.rst | 12 The first reason why a caller may avoid reclaim is that the caller can not 15 overhead of page reclaim. This may happen for opportunistic high-order
|
/Linux-v5.10/net/ipv4/ |
D | tcp_metrics.c | 153 bool reclaim = false; in tcpm_new() local 163 reclaim = true; in tcpm_new() 171 if (unlikely(reclaim)) { in tcpm_new() 192 if (likely(!reclaim)) { in tcpm_new()
|
/Linux-v5.10/Documentation/ABI/testing/ |
D | pstore | 28 device that it can reclaim the space for later re-use::
|
/Linux-v5.10/Documentation/filesystems/ |
D | fuse-io.rst | 37 reclaim on memory pressure) or explicitly (invoked by close(2), fsync(2) and
|
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb3/ |
D | sge.c | 328 unsigned int reclaim = q->processed - q->cleaned; in reclaim_completed_tx() local 330 reclaim = min(chunk, reclaim); in reclaim_completed_tx() 331 if (reclaim) { in reclaim_completed_tx() 332 free_tx_desc(adapter, q, reclaim); in reclaim_completed_tx() 333 q->cleaned += reclaim; in reclaim_completed_tx() 334 q->in_use -= reclaim; in reclaim_completed_tx() 1457 unsigned int reclaim = q->processed - q->cleaned; in reclaim_completed_tx_imm() local 1459 q->in_use -= reclaim; in reclaim_completed_tx_imm() 1460 q->cleaned += reclaim; in reclaim_completed_tx_imm()
|