Home
last modified time | relevance | path

Searched refs:reclaim (Results 1 – 25 of 80) sorted by relevance

1234

/Linux-v5.15/Documentation/core-api/
Dgfp_mask-from-fs-io.rst15 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.
Dmemory-allocation.rst43 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 …]
Dworkqueue.rst143 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.15/Documentation/ABI/testing/
Dsysfs-kernel-mm-numa9 Description: Enable/disable demoting pages during reclaim
11 Page migration during reclaim is intended for systems
16 Allowing page migration during reclaim enables these
Dpstore28 device that it can reclaim the space for later re-use::
/Linux-v5.15/Documentation/admin-guide/device-mapper/
Ddm-zoned.rst27 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-v5.15/Documentation/admin-guide/sysctl/
Dvm.rst273 reclaim to satisfy a high-order allocation. The extfrag/extfrag_index file in
486 A percentage of the total pages in each zone. On Zone reclaim
490 systems that rarely perform global reclaim.
494 Note that slab reclaim is triggered in a per zone / node fashion.
504 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.15/arch/x86/kernel/cpu/sgx/
Dsgx.h85 struct sgx_epc_page *sgx_alloc_epc_page(void *owner, bool reclaim);
/Linux-v5.15/include/linux/
Dpage-flags.h394 PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) in PAGEFLAG()
395 TESTCLEARFLAG(Reclaim, reclaim, PF_NO_TAIL) in PAGEFLAG()
396 PAGEFLAG(Readahead, reclaim, PF_NO_COMPOUND) in PAGEFLAG()
397 TESTCLEARFLAG(Readahead, reclaim, PF_NO_COMPOUND) in PAGEFLAG()
/Linux-v5.15/drivers/usb/host/
Doxu210hp-hcd.c332 struct ehci_qh *reclaim; /* next to reclaim */ member
424 struct ehci_qh *reclaim; member
2084 struct ehci_qh *qh = oxu->reclaim; in end_unlink_async()
2094 next = qh->reclaim; in end_unlink_async()
2095 oxu->reclaim = next; in end_unlink_async()
2097 qh->reclaim = NULL; in end_unlink_async()
2116 oxu->reclaim = NULL; in end_unlink_async()
2131 BUG_ON(oxu->reclaim || (qh->qh_state != QH_STATE_LINKED in start_unlink_async()
2139 && !oxu->reclaim) { in start_unlink_async()
2150 oxu->reclaim = qh = qh_get(qh); in start_unlink_async()
[all …]
/Linux-v5.15/drivers/media/mmc/siano/
Dsmssdio.c303 goto reclaim; in smssdio_probe()
307 reclaim: in smssdio_probe()
/Linux-v5.15/include/linux/lockd/
Dxdr.h66 u32 reclaim; member
/Linux-v5.15/Documentation/accounting/
Dtaskstats-struct.rst38 6) Extended delay accounting fields for memory reclaim
191 6) Extended delay accounting fields for memory reclaim::
193 /* Delay waiting for memory reclaim */
Ddelay-accounting.rst15 d) memory reclaim
48 delay seen for cpu, sync block I/O, swapin, memory reclaim etc.
/Linux-v5.15/drivers/md/
Ddm-zoned-target.c423 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()
1139 dmz_schedule_reclaim(dmz->dev[i].reclaim); in dmz_message()
Ddm-zoned.h57 struct dmz_reclaim *reclaim; member
292 dmz_reclaim_bio_acc(zone->dev->reclaim); in dmz_deactivate_zone()
/Linux-v5.15/Documentation/admin-guide/cgroup-v1/
Dmemory.rst82 memory.force_empty trigger forced page reclaim
182 charged is over its limit. If it is, then reclaim is invoked on the cgroup.
183 More details can be found in the reclaim section of this document.
268 to reclaim memory from the cgroup so as to make space for the new
269 pages that the cgroup has touched. If the reclaim is unsuccessful,
273 The reclaim algorithm has not been modified for cgroups, except that
323 to trigger slab reclaim when those limits are reached.
371 In the current implementation, memory reclaim will NOT be
376 Since kmem charges will also be fed to the user counter and reclaim will be
605 Please note that unlike during the global reclaim, limit reclaim
[all …]
/Linux-v5.15/fs/lockd/
Dclntproc.c278 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.15/Documentation/admin-guide/mm/
Dconcepts.rst182 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
Dtranshuge.rst125 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.15/Documentation/vm/
Dz3fold.rst29 depend on MMU enabled and provides more predictable reclaim behavior
Dunevictable-lru.rst32 reclaim in Linux. The problems have been observed at customer sites on large
104 not attempt to reclaim pages on the unevictable list. This has a couple of
107 (1) Because the pages are "hidden" from reclaim on the unevictable list, the
108 reclaim process can be more efficient, dealing only with pages that have a
265 reclaim a page in a VM_LOCKED VMA via try_to_unmap()
327 it later if and when it attempts to reclaim the page.
402 This is fine, because we'll catch it later if and if vmscan tries to reclaim
530 try_to_unmap() is always called, by either vmscan for reclaim or for page
537 When trying to reclaim, if try_to_unmap_one() finds the page in a VM_LOCKED
544 munlock or munmap system calls, mm teardown (munlock_vma_pages_all), reclaim,
/Linux-v5.15/net/ipv4/
Dtcp_metrics.c153 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.15/Documentation/filesystems/
Dfuse-io.rst37 reclaim on memory pressure) or explicitly (invoked by close(2), fsync(2) and
/Linux-v5.15/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c328 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()
1454 unsigned int reclaim = q->processed - q->cleaned; in reclaim_completed_tx_imm() local
1456 q->in_use -= reclaim; in reclaim_completed_tx_imm()
1457 q->cleaned += reclaim; in reclaim_completed_tx_imm()

1234