Home
last modified time | relevance | path

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

123

/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/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/Documentation/translations/zh_CN/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_TW/admin-guide/mm/damon/
H A Dindex.rst24 reclaim
H A Dreclaim.rst4 :Original: Documentation/admin-guide/mm/damon/reclaim.rst
/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/Documentation/admin-guide/sysctl/
H A Dvm.rst331 reclaim to satisfy a high-order allocation. The extfrag/extfrag_index file in
556 A percentage of the total pages in each zone. On Zone reclaim
560 systems that rarely perform global reclaim.
564 Note that slab reclaim is triggered in a per zone / node fashion.
574 This is a percentage of the total pages in each zone. Zone reclaim will
1050 This percentage value controls the tendency of the kernel to reclaim
1054 will attempt to reclaim dentries and inodes at a "fair" rate with respect to
1055 pagecache and swapcache reclaim. Decreasing vfs_cache_pressure causes the
1057 the kernel will never reclaim dentries and inodes due to memory pressure and
1059 beyond vfs_cache_pressure_denom causes the kernel to prefer to reclaim dentries
[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()
H A Ddm-zoned-reclaim.c554 struct dmz_reclaim **reclaim, int idx) in dmz_ctr_reclaim() argument
584 *reclaim = zrc; in dmz_ctr_reclaim()
/linux/tools/testing/selftests/damon/
H A DMakefile16 TEST_PROGS += reclaim.sh lru_sort.sh
/linux/drivers/media/mmc/siano/
H A Dsmssdio.c303 goto reclaim; in smssdio_probe()
307 reclaim: in smssdio_probe()
/linux/mm/damon/
H A DKconfig78 bool "Build DAMON-based reclaim (DAMON_RECLAIM)"
82 that not accessed for a long time (cold) using DAMON and reclaim
/linux/net/ipv4/
H A Dtcp_metrics.c169 bool reclaim = false; in tcpm_new() local
180 reclaim = true; in tcpm_new()
188 if (unlikely(reclaim)) { in tcpm_new()
210 tcpm_suck_dst(tm, dst, reclaim); in tcpm_new()
212 if (likely(!reclaim)) { in tcpm_new()
/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
/linux/Documentation/admin-guide/mm/damon/
H A Dreclaim.rst17 reclaim of the process or CPU consumption of kswapd, while incurring only
101 DAMON_RECLAIM charges amount of memory which it tried to reclaim within a time
252 ``42``, and ``32``, respectively. Then it means DAMON_RECLAIM tried to reclaim
262 If this parameter is set as ``Y``, DAMON_RECLAIM does not reclaim anonymous
/linux/fs/lockd/
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()
655 req->a_args.reclaim = 1; in nlmclnt_reclaim()
/linux/samples/damon/
H A DKconfig26 proactively reclaim the regions.
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dsge.c325 unsigned int reclaim = q->processed - q->cleaned; in reclaim_completed_tx() local
327 reclaim = min(chunk, reclaim); in reclaim_completed_tx()
328 if (reclaim) { in reclaim_completed_tx()
329 free_tx_desc(adapter, q, reclaim); in reclaim_completed_tx()
330 q->cleaned += reclaim; in reclaim_completed_tx()
331 q->in_use -= reclaim; in reclaim_completed_tx()
1452 unsigned int reclaim = q->processed - q->cleaned; in reclaim_completed_tx_imm() local
1454 q->in_use -= reclaim; in reclaim_completed_tx_imm()
1455 q->cleaned += reclaim; in reclaim_completed_tx_imm()

123