Home
last modified time | relevance | path

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

12

/linux/mm/
H A 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 …]
H A Dvmscan.c338 sc->nr_reclaimed += current->reclaim_state->reclaimed; in flush_reclaim_state()
339 current->reclaim_state->reclaimed = 0; in flush_reclaim_state()
707 bool reclaimed, struct mem_cgroup *target_memcg) in __remove_mapping() argument
760 if (reclaimed && !mapping_exiting(mapping)) in __remove_mapping()
785 if (reclaimed && folio_is_file_lru(folio) && in __remove_mapping()
4691 int reclaimed; in evict_folios() local
4718 reclaimed = shrink_folio_list(&list, pgdat, sc, &stat, false, memcg); in evict_folios()
4720 sc->nr_reclaimed += reclaimed; in evict_folios()
4722 scanned, reclaimed, &stat, sc->priority, in evict_folios()
4761 __count_vm_events(item, reclaimed); in evict_folios()
[all …]
H A Dmemcontrol-v1.c328 unsigned long reclaimed; in memcg1_soft_limit_reclaim() local
362 reclaimed = mem_cgroup_soft_reclaim(mz->memcg, pgdat, in memcg1_soft_limit_reclaim()
364 nr_reclaimed += reclaimed; in memcg1_soft_limit_reclaim()
372 if (!reclaimed) in memcg1_soft_limit_reclaim()
/linux/include/linux/
H A Dvmpressure.h15 unsigned long reclaimed; member
34 unsigned long scanned, unsigned long reclaimed);
48 unsigned long scanned, unsigned long reclaimed) {} in vmpressure() argument
H A Dswap.h154 /* pages reclaimed outside of LRU-based reclaim */
155 unsigned long reclaimed; member
163 * mm_account_reclaimed_pages(): account reclaimed pages outside of LRU-based
165 * @pages: number of pages reclaimed
168 * number of reclaimed pages by @pages.
173 current->reclaim_state->reclaimed += pages; in mm_account_reclaimed_pages()
/linux/Documentation/admin-guide/mm/damon/
H A Dreclaim.rst253 42 KiB memory and successfully reclaimed 32 KiB memory in total.
277 Number of memory regions that tried to be reclaimed by DAMON_RECLAIM.
282 Total bytes of memory regions that tried to be reclaimed by DAMON_RECLAIM.
287 Number of memory regions that successfully be reclaimed by DAMON_RECLAIM.
292 Total bytes of memory regions that successfully be reclaimed by DAMON_RECLAIM.
/linux/drivers/md/dm-vdo/
H A Dstatistics.h113 u64 reclaimed; member
H A Dblock-map.c1062 bool was_discard, reclaimed; in page_is_written_out() local
1084 reclaimed = (!was_discard || (info->busy > 0) || vdo_waitq_has_waiters(&info->waiting)); in page_is_written_out()
1089 ADD_ONCE(cache->stats.reclaimed, reclamations); in page_is_written_out()
1094 if (reclaimed) in page_is_written_out()
3338 totals.reclaimed += READ_ONCE(stats->reclaimed); in vdo_get_block_map_statistics()
H A Dmessage-stats.c207 write_u64("reclaimed : ", stats->reclaimed, ", ", buf, maxlen); in write_block_map_statistics()
/linux/fs/btrfs/
H A Dzoned.c3093 u64 reclaimed = 0; in btrfs_reset_unused_block_groups() local
3168 reclaimed = bg->alloc_offset; in btrfs_reset_unused_block_groups()
3175 ASSERT(reclaimed == bg->zone_capacity, in btrfs_reset_unused_block_groups()
3176 "reclaimed=%llu bg->zone_capacity=%llu", reclaimed, bg->zone_capacity); in btrfs_reset_unused_block_groups()
3177 bg->free_space_ctl->free_space += reclaimed; in btrfs_reset_unused_block_groups()
3178 space_info->bytes_zone_unusable -= reclaimed; in btrfs_reset_unused_block_groups()
3180 btrfs_return_free_space(space_info, reclaimed); in btrfs_reset_unused_block_groups()
3183 if (num_bytes <= reclaimed) in btrfs_reset_unused_block_groups()
3185 num_bytes -= reclaimed; in btrfs_reset_unused_block_groups()
/linux/tools/testing/selftests/cgroup/
H A Dtest_memcontrol.c893 bool reclaimed = false; in reclaim_until()
901 else if (reclaimed) in reclaim_until()
908 reclaimed = true; in reclaim_until()
912 return reclaimed;
891 bool reclaimed = false; reclaim_until() local
/linux/Documentation/userspace-api/media/dvb/
H A Ddmx-expbuf.rst54 file when it is no longer used to allow the associated memory to be reclaimed.
/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-kexec-kdump37 reservation by writing a smaller value, and the reclaimed
/linux/arch/x86/kernel/cpu/sgx/
H A 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/Documentation/ABI/obsolete/
H A Dsysfs-kernel-kexec-kdump47 reservation by writing a smaller value, and the reclaimed
/linux/kernel/liveupdate/
H A DKconfig61 These devices are intended to be reclaimed by the new kernel and
/linux/mm/damon/
H A DKconfig95 pages reclaimed first under memory pressure.
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-expbuf.rst63 the associated memory to be reclaimed.
/linux/drivers/net/ethernet/marvell/
H A 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/Documentation/admin-guide/sysctl/
H A Dvm.rst274 reclaimed by the kernel when memory is needed elsewhere on the system.
427 for page allocation or should be reclaimed.
557 (fallback from the local zone occurs) slabs will be reclaimed if more
576 zone_reclaim_mode allows to be reclaimed.
1081 reclaimed if pages of different mobility are being mixed within pageblocks.
1088 15,000 means that up to 150% of the high watermark will be reclaimed in the
1092 worth of pages will be reclaimed (e.g. 2MB on 64-bit x86). A boost factor
/linux/Documentation/admin-guide/mm/
H A Dconcepts.rst173 reclaimed. For instance, in-memory caches of filesystem metadata can
191 until enough memory pages are reclaimed to satisfy the request.
H A Dpagemap.rst181 The page will be reclaimed soon after its pageout IO completed.
/linux/arch/powerpc/kvm/
H A DKconfig182 * Total amount of Guest Page-table Memory reclaimed
/linux/Documentation/arch/powerpc/
H A Dtransactional_memory.rst172 from the sighandler to the kernel will get reclaimed and discarded.
/linux/Documentation/virt/kvm/devices/
H A Dvm.rst36 as unused are again used any may not be reclaimed by the host.

12