Home
last modified time | relevance | path

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

1234

/linux/tools/testing/selftests/cgroup/
H A Dmemcg_protection.m5 % 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/drivers/gpu/drm/panthor/
H A Dpanthor_gem.c189 ptdev->reclaim.gpu_mapped_count += bo->base.size >> PAGE_SHIFT; in panthor_gem_update_reclaim_state_locked()
191 ptdev->reclaim.gpu_mapped_count -= bo->base.size >> PAGE_SHIFT; in panthor_gem_update_reclaim_state_locked()
195 drm_gem_lru_move_tail(&ptdev->reclaim.unused, &bo->base); in panthor_gem_update_reclaim_state_locked()
198 drm_gem_lru_move_tail(&ptdev->reclaim.mmapped, &bo->base); in panthor_gem_update_reclaim_state_locked()
204 drm_gem_lru_move_tail(&ptdev->reclaim.gpu_mapped_shared, &bo->base); in panthor_gem_update_reclaim_state_locked()
1404 count = ptdev->reclaim.unused.count; in panthor_gem_shrinker_count()
1405 count += ptdev->reclaim.mmapped.count; in panthor_gem_shrinker_count()
1408 count += ptdev->reclaim.gpu_mapped_count; in panthor_gem_shrinker_count()
1522 freed += drm_gem_lru_scan(&ptdev->base, &ptdev->reclaim.unused, in panthor_gem_shrinker_scan()
1528 freed += drm_gem_lru_scan(&ptdev->base, &ptdev->reclaim.mmapped, in panthor_gem_shrinker_scan()
[all …]
H A Dpanthor_mmu.c411 } reclaim; member
734 if (vm->reclaim.lru.count) in panthor_vm_active()
735 list_move_tail(&vm->reclaim.lru_node, &ptdev->reclaim.vms); in panthor_vm_active()
2040 list_del_init(&vm->reclaim.lru_node); in panthor_vm_free()
2484 drm_gem_lru_move_tail_locked(&vm->reclaim.lru, &bo->base); in panthor_vm_update_bo_reclaim_lru_locked()
2485 if (list_empty(&vm->reclaim.lru_node)) in panthor_vm_update_bo_reclaim_lru_locked()
2486 list_move(&vm->reclaim.lru_node, &ptdev->reclaim.vms); in panthor_vm_update_bo_reclaim_lru_locked()
2906 drm_gem_lru_init(&vm->reclaim.lru); in panthor_vm_create()
2907 INIT_LIST_HEAD(&vm->reclaim.lru_node); in panthor_vm_create()
3289 list_splice_init(&ptdev->reclaim.vms, &vms); in panthor_mmu_reclaim_priv_bos()
[all …]
/linux/Documentation/core-api/
H A Dmemory-allocation.rst43 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/Documentation/ABI/testing/
H A 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
/linux/Documentation/mm/
H A Dmultigen_lru.rst7 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/Documentation/driver-api/cxl/allocation/
H A Dreclaim.rst6 Another way CXL memory can be utilized *indirectly* is via the reclaim system
11 memory can be consumed by various pieces of reclaim system.
15 By default, the reclaim system will prefer swap (or zswap) when reclaiming
/linux/Documentation/admin-guide/device-mapper/
H A 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/Documentation/admin-guide/mm/
H A Dmultigen_lru.rst7 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
H A Dconcepts.rst179 repurposing them is called (surprise!) `reclaim`. Linux can reclaim
190 will trigger `direct reclaim`. In this case allocation is stalled
208 Like reclaim, the compaction may happen asynchronously in the ``kcompactd``
215 kernel will be unable to reclaim enough memory to continue to operate. In
/linux/include/linux/sunrpc/xdrgen/
H A Dnlm3.h73 bool reclaim; member
124 bool reclaim; member
H A Dnlm4.h106 bool reclaim; member
139 bool reclaim; member
/linux/fs/lockd/
H A Dnlm3xdr_gen.c129 if (!xdrgen_decode_bool(xdr, &ptr->reclaim)) in xdrgen_decode_nlm_lockargs()
237 if (!xdrgen_decode_bool(xdr, &ptr->reclaim)) in xdrgen_decode_nlm_shareargs()
521 if (!xdrgen_encode_bool(xdr, value->reclaim)) in xdrgen_encode_nlm_lockargs()
601 if (!xdrgen_encode_bool(xdr, value->reclaim)) in xdrgen_encode_nlm_shareargs()
H A Dnlm4xdr_gen.c200 if (!xdrgen_decode_bool(xdr, &ptr->reclaim)) in xdrgen_decode_nlm4_lockargs()
266 if (!xdrgen_decode_bool(xdr, &ptr->reclaim)) in xdrgen_decode_nlm4_shareargs()
586 if (!xdrgen_encode_bool(xdr, value->reclaim)) in xdrgen_encode_nlm4_lockargs()
654 if (!xdrgen_encode_bool(xdr, value->reclaim)) in xdrgen_encode_nlm4_shareargs()
H A Dclntproc.c282 if (host->h_reclaiming && !argp->reclaim) in nlmclnt_call()
312 if (argp->reclaim) { in nlmclnt_call()
318 if (!argp->reclaim) { in nlmclnt_call()
658 req->a_args.reclaim = 1; in nlmclnt_reclaim()
/linux/Documentation/translations/zh_TW/admin-guide/mm/damon/
H A Dindex.rst24 reclaim
H A Dreclaim.rst4 :Original: Documentation/admin-guide/mm/damon/reclaim.rst
/linux/Documentation/translations/zh_CN/admin-guide/mm/damon/
H A Dindex.rst24 reclaim
/linux/tools/testing/selftests/damon/
H A DMakefile17 TEST_PROGS += reclaim.sh lru_sort.sh
/linux/drivers/usb/host/
H A Doxu210hp-hcd.c308 struct ehci_qh *reclaim; /* next to reclaim */ member
400 struct ehci_qh *reclaim; member
2060 struct ehci_qh *qh = oxu->reclaim; in end_unlink_async()
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()
2107 BUG_ON(oxu->reclaim || (qh->qh_state != QH_STATE_LINKED in start_unlink_async()
2115 && !oxu->reclaim) { in start_unlink_async()
2126 oxu->reclaim = qh = qh_get(qh); in start_unlink_async()
[all …]
/linux/drivers/md/
H A Ddm-zoned-target.c422 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()
1042 dmz_suspend_reclaim(dmz->dev[i].reclaim); in dmz_suspend()
1056 dmz_resume_reclaim(dmz->dev[i].reclaim); in dmz_resume()
1133 dmz_schedule_reclaim(dmz->dev[i].reclaim); in dmz_message()
/linux/drivers/media/mmc/siano/
H A Dsmssdio.c303 goto reclaim; in smssdio_probe()
307 reclaim: in smssdio_probe()
/linux/Documentation/admin-guide/sysctl/
H A Dvm.rst329 reclaim to satisfy a high-order allocation. The extfrag/extfrag_index file in
554 A percentage of the total pages in each zone. On Zone reclaim
558 systems that rarely perform global reclaim.
562 Note that slab reclaim is triggered in a per zone / node fashion.
572 This is a percentage of the total pages in each zone. Zone reclaim will
1129 This percentage value controls the tendency of the kernel to reclaim
1133 will attempt to reclaim dentries and inodes at a "fair" rate with respect to
1134 pagecache and swapcache reclaim. Decreasing vfs_cache_pressure causes the
1136 the kernel will never reclaim dentries and inodes due to memory pressure and
1138 beyond vfs_cache_pressure_denom causes the kernel to prefer to reclaim dentries
[all …]
/linux/Documentation/admin-guide/cgroup-v1/
H A Dmemory.rst85 memory.force_empty trigger forced page reclaim
201 charged is over its limit. If it is, then reclaim is invoked on the cgroup.
202 More details can be found in the reclaim section of this document.
286 to reclaim memory from the cgroup so as to make space for the new
287 pages that the cgroup has touched. If the reclaim is unsuccessful,
291 The reclaim algorithm has not been modified for cgroups, except that
387 In the current implementation, memory reclaim will NOT be triggered for
392 Since kmem charges will also be fed to the user counter and reclaim will be
621 Please note that unlike during the global reclaim, limit reclaim
624 if there are no file pages to reclaim.
[all …]
/linux/Documentation/filesystems/nfs/
H A Dnfsd-io-modes.rst75 avoid the Linux memory management's page reclaim scalability problems
85 perform (e.g. page allocation, dirty writeback, page reclaim). When
97 - NFSD DIRECT can reduce CPU load by avoiding costly page reclaim work

1234