| /linux/mm/ |
| H A D | vmpressure.c | 121 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 D | vmscan.c | 338 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 D | memcontrol-v1.c | 328 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 D | vmpressure.h | 15 unsigned long reclaimed; member 34 unsigned long scanned, unsigned long reclaimed); 48 unsigned long scanned, unsigned long reclaimed) {} in vmpressure() argument
|
| H A D | swap.h | 154 /* 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 D | reclaim.rst | 253 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 D | statistics.h | 113 u64 reclaimed; member
|
| H A D | block-map.c | 1062 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 D | message-stats.c | 207 write_u64("reclaimed : ", stats->reclaimed, ", ", buf, maxlen); in write_block_map_statistics()
|
| /linux/fs/btrfs/ |
| H A D | zoned.c | 3093 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 D | test_memcontrol.c | 893 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 D | dmx-expbuf.rst | 54 file when it is no longer used to allow the associated memory to be reclaimed.
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-kernel-kexec-kdump | 37 reservation by writing a smaller value, and the reclaimed
|
| /linux/arch/x86/kernel/cpu/sgx/ |
| H A D | encl.c | 61 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 D | sysfs-kernel-kexec-kdump | 47 reservation by writing a smaller value, and the reclaimed
|
| /linux/kernel/liveupdate/ |
| H A D | Kconfig | 61 These devices are intended to be reclaimed by the new kernel and
|
| /linux/mm/damon/ |
| H A D | Kconfig | 95 pages reclaimed first under memory pressure.
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | vidioc-expbuf.rst | 63 the associated memory to be reclaimed.
|
| /linux/drivers/net/ethernet/marvell/ |
| H A D | mv643xx_eth.c | 1061 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 D | vm.rst | 274 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 D | concepts.rst | 173 reclaimed. For instance, in-memory caches of filesystem metadata can 191 until enough memory pages are reclaimed to satisfy the request.
|
| H A D | pagemap.rst | 181 The page will be reclaimed soon after its pageout IO completed.
|
| /linux/arch/powerpc/kvm/ |
| H A D | Kconfig | 182 * Total amount of Guest Page-table Memory reclaimed
|
| /linux/Documentation/arch/powerpc/ |
| H A D | transactional_memory.rst | 172 from the sighandler to the kernel will get reclaimed and discarded.
|
| /linux/Documentation/virt/kvm/devices/ |
| H A D | vm.rst | 36 as unused are again used any may not be reclaimed by the host.
|