Home
last modified time | relevance | path

Searched refs:reclaimed (Results 1 – 25 of 42) sorted by relevance

12

/linux-6.12.1/mm/
Dvmpressure.c121 unsigned long reclaimed) in vmpressure_calc_level() argument
123 unsigned long scale = scanned + reclaimed; in vmpressure_calc_level()
131 if (reclaimed >= scanned) in vmpressure_calc_level()
140 pressure = scale - (reclaimed * scale / scanned); in vmpressure_calc_level()
145 scanned, reclaimed); in vmpressure_calc_level()
184 unsigned long reclaimed; in vmpressure_work_fn() local
204 reclaimed = vmpr->tree_reclaimed; in vmpressure_work_fn()
209 level = vmpressure_calc_level(scanned, reclaimed); in vmpressure_work_fn()
240 unsigned long scanned, unsigned long reclaimed) in vmpressure() argument
285 vmpr->tree_reclaimed += reclaimed; in vmpressure()
[all …]
Dvmscan.c321 sc->nr_reclaimed += current->reclaim_state->reclaimed; in flush_reclaim_state()
322 current->reclaim_state->reclaimed = 0; in flush_reclaim_state()
714 bool reclaimed, struct mem_cgroup *target_memcg) in __remove_mapping() argument
762 if (reclaimed && !mapping_exiting(mapping)) in __remove_mapping()
788 if (reclaimed && folio_is_file_lru(folio) && in __remove_mapping()
4563 int reclaimed; in evict_folios() local
4589 reclaimed = shrink_folio_list(&list, pgdat, sc, &stat, false); in evict_folios()
4590 sc->nr_reclaimed += reclaimed; in evict_folios()
4592 scanned, reclaimed, &stat, sc->priority, in evict_folios()
4635 __count_vm_events(item, reclaimed); in evict_folios()
[all …]
Dmemcontrol.c4079 unsigned long reclaimed; in memory_high_write() local
4093 reclaimed = try_to_free_mem_cgroup_pages(memcg, nr_pages - high, in memory_high_write()
4096 if (!reclaimed && !nr_retries--) in memory_high_write()
4322 unsigned long reclaimed; in memory_reclaim() local
4335 reclaimed = try_to_free_mem_cgroup_pages(memcg, in memory_reclaim()
4340 if (!reclaimed && !nr_retries--) in memory_reclaim()
4343 nr_reclaimed += reclaimed; in memory_reclaim()
Dmemcontrol-v1.c353 unsigned long reclaimed; in memcg1_soft_limit_reclaim() local
387 reclaimed = mem_cgroup_soft_reclaim(mz->memcg, pgdat, in memcg1_soft_limit_reclaim()
389 nr_reclaimed += reclaimed; in memcg1_soft_limit_reclaim()
397 if (!reclaimed) in memcg1_soft_limit_reclaim()
/linux-6.12.1/include/linux/
Dvmpressure.h15 unsigned long reclaimed; member
34 unsigned long scanned, unsigned long reclaimed);
48 unsigned long scanned, unsigned long reclaimed) {} in vmpressure() argument
Dswap.h157 unsigned long reclaimed; member
175 current->reclaim_state->reclaimed += pages; in mm_account_reclaimed_pages()
/linux-6.12.1/Documentation/admin-guide/mm/damon/
Dreclaim.rst255 Number of memory regions that tried to be reclaimed by DAMON_RECLAIM.
260 Total bytes of memory regions that tried to be reclaimed by DAMON_RECLAIM.
265 Number of memory regions that successfully be reclaimed by DAMON_RECLAIM.
270 Total bytes of memory regions that successfully be reclaimed by DAMON_RECLAIM.
Dlru_sort.rst89 it could not be reclaimed under memory pressure. 50% by default.
98 that it could be reclaimed first under memory pressure. 120 seconds by
/linux-6.12.1/drivers/md/dm-vdo/
Dstatistics.h113 u64 reclaimed; member
Dblock-map.c1046 bool was_discard, reclaimed; in page_is_written_out() local
1068 reclaimed = (!was_discard || (info->busy > 0) || vdo_waitq_has_waiters(&info->waiting)); in page_is_written_out()
1073 ADD_ONCE(cache->stats.reclaimed, reclamations); in page_is_written_out()
1078 if (reclaimed) in page_is_written_out()
3306 totals.reclaimed += READ_ONCE(stats->reclaimed); in vdo_get_block_map_statistics()
Dmessage-stats.c207 write_u64("reclaimed : ", stats->reclaimed, ", ", buf, maxlen); in write_block_map_statistics()
/linux-6.12.1/tools/testing/selftests/cgroup/
Dtest_memcontrol.c803 bool reclaimed = false; in reclaim_until() local
811 else if (reclaimed) in reclaim_until()
818 reclaimed = true; in reclaim_until()
822 return reclaimed; in reclaim_until()
/linux-6.12.1/Documentation/userspace-api/media/dvb/
Ddmx-expbuf.rst54 file when it is no longer used to allow the associated memory to be reclaimed.
/linux-6.12.1/arch/x86/kernel/cpu/sgx/
Dencl.c61 int reclaimed = 0; in reclaimer_writing_to_pcmd() local
96 reclaimed = 1; in reclaimer_writing_to_pcmd()
101 return reclaimed; in reclaimer_writing_to_pcmd()
/linux-6.12.1/Documentation/mm/
Dphysical_memory.rst292 The highest zone index to be reclaimed by kswapd
298 Minimal number of unmapped file backed pages that cannot be reclaimed.
303 Minimal number of SLAB pages that cannot be reclaimed. Determined by
/linux-6.12.1/mm/damon/
DKconfig122 pages reclaimed first under memory pressure.
/linux-6.12.1/Documentation/userspace-api/media/v4l/
Dvidioc-expbuf.rst63 the associated memory to be reclaimed.
/linux-6.12.1/Documentation/admin-guide/sysctl/
Dvm.rst256 reclaimed by the kernel when memory is needed elsewhere on the system.
416 for page allocation or should be reclaimed.
542 (fallback from the local zone occurs) slabs will be reclaimed if more
561 zone_reclaim_mode allows to be reclaimed.
1030 reclaimed if pages of different mobility are being mixed within pageblocks.
1037 15,000 means that up to 150% of the high watermark will be reclaimed in the
1041 worth of pages will be reclaimed (e.g. 2MB on 64-bit x86). A boost factor
/linux-6.12.1/drivers/net/ethernet/marvell/
Dmv643xx_eth.c1061 int reclaimed; in txq_reclaim() local
1065 reclaimed = 0; in txq_reclaim()
1066 while (reclaimed < budget && txq->tx_desc_count > 0) { in txq_reclaim()
1088 reclaimed++; in txq_reclaim()
1121 if (reclaimed < budget) in txq_reclaim()
1124 return reclaimed; in txq_reclaim()
/linux-6.12.1/Documentation/admin-guide/mm/
Dconcepts.rst173 reclaimed. For instance, in-memory caches of filesystem metadata can
191 until enough memory pages are reclaimed to satisfy the request.
Dpagemap.rst163 The page will be reclaimed soon after its pageout IO completed.
/linux-6.12.1/Documentation/admin-guide/
Dcgroup-v2.rst1239 won't be reclaimed under any conditions. If there is no
1242 effective low boundary if it is higher), pages are reclaimed
1265 memory won't be reclaimed unless there is no reclaimable
1268 effective min boundary if it is higher), pages are reclaimed
1324 the target cgroup. If less bytes are reclaimed than the
1385 The number of times the cgroup is reclaimed due to
1522 Part of "slab" that might be reclaimed, such as
1526 Part of "slab" that cannot be reclaimed on memory
1548 an active workingset before they got reclaimed.
1552 active workingset before they got reclaimed.
[all …]
/linux-6.12.1/Documentation/admin-guide/cgroup-v1/
Dmemory.rst510 reclaimed.
541 the cgroup will be reclaimed and as many pages reclaimed as possible.
579 unevictable # of bytes of memory that cannot be reclaimed (mlocked etc).
639 memory under it will be reclaimed.
/linux-6.12.1/fs/btrfs/
Dblock-group.c1830 u64 reclaimed; in btrfs_reclaim_bgs_work() local
1928 reclaimed = bg->used; in btrfs_reclaim_bgs_work()
1934 reclaimed = 0; in btrfs_reclaim_bgs_work()
1943 space_info->reclaim_bytes += reclaimed; in btrfs_reclaim_bgs_work()
/linux-6.12.1/drivers/block/drbd/
Ddrbd_receiver.c212 LIST_HEAD(reclaimed); in drbd_reclaim_net_peer_reqs()
216 reclaim_finished_net_peer_reqs(device, &reclaimed); in drbd_reclaim_net_peer_reqs()
218 list_for_each_entry_safe(peer_req, t, &reclaimed, w.list) in drbd_reclaim_net_peer_reqs()
446 LIST_HEAD(reclaimed); in drbd_finish_peer_reqs()
451 reclaim_finished_net_peer_reqs(device, &reclaimed); in drbd_finish_peer_reqs()
455 list_for_each_entry_safe(peer_req, t, &reclaimed, w.list) in drbd_finish_peer_reqs()

12