/linux/mm/ |
H A D | vmpressure.c | 26 * we try to analyze scanned/reclaimed ratio. So the window is used as a 42 * scanned/reclaimed ratio. The current values were chosen empirically. In 121 unsigned long reclaimed) in vmpressure_calc_level() argument 123 unsigned long scale = scanned + reclaimed; in vmpressure_calc_level() 127 * reclaimed can be greater than scanned for things such as reclaimed in vmpressure_calc_level() 128 * slab pages. shrink_node() just adds reclaimed pages without a in vmpressure_calc_level() 131 if (reclaimed >= scanned) in vmpressure_calc_level() 135 * scanned vs. reclaimed in a given time frame (window). Note that in vmpressure_calc_level() 140 pressure = scale - (reclaimed * scal in vmpressure_calc_level() 184 unsigned long reclaimed; vmpressure_work_fn() local 240 vmpressure(gfp_t gfp,struct mem_cgroup * memcg,bool tree,unsigned long scanned,unsigned long reclaimed) vmpressure() argument [all...] |
H A D | vmscan.c | 110 /* Can mapped folios be reclaimed? */ 127 * don't threaten to OOM. If any cgroup is reclaimed at 129 * setting (memcg_low_skipped), and nothing is reclaimed as a 181 /* for recording the reclaimed slab by now */ 305 * flush_reclaim_state(): add pages reclaimed outside of LRU-based reclaim to 311 * Currently, reclaim_state->reclaimed includes three types of pages in flush_reclaim_state() 320 * If we count the entire page as reclaimed from the memcg, we end up in flush_reclaim_state() 321 * overestimating the reclaimed amount (potentially under-reclaiming). in flush_reclaim_state() 328 * charged to the target memcg, we end up underestimating the reclaimed in flush_reclaim_state() 339 sc->nr_reclaimed += current->reclaim_state->reclaimed; in flush_reclaim_state() 736 __remove_mapping(struct address_space * mapping,struct folio * folio,bool reclaimed,struct mem_cgroup * target_memcg) __remove_mapping() argument 4717 int reclaimed; evict_folios() local 4936 unsigned long reclaimed = sc->nr_reclaimed; shrink_one() local 5067 unsigned long reclaimed = sc->nr_reclaimed; lru_gen_shrink_node() local 6015 unsigned long reclaimed; shrink_node_memcgs() local 7795 unsigned long reclaimed; user_proactive_reclaim() local [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 19 /* The lock is used to keep the scanned/reclaimed above in sync. */ 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 | 255 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.
|
H A D | lru_sort.rst | 89 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/drivers/md/dm-vdo/ |
H A D | statistics.h | 112 /* number of gets that are reclaimed */ 113 u64 reclaimed; member
|
H A D | block-map.c | 1044 bool was_discard, reclaimed; in page_is_written_out() local 1066 reclaimed = (!was_discard || (info->busy > 0) || vdo_waitq_has_waiters(&info->waiting)); in page_is_written_out() 1071 ADD_ONCE(cache->stats.reclaimed, reclamations); in page_is_written_out() 1076 if (reclaimed) in page_is_written_out() 3303 totals.reclaimed += READ_ONCE(stats->reclaimed); in vdo_get_block_map_statistics()
|
H A D | message-stats.c | 206 /* number of gets that are reclaimed */ in write_block_map_statistics() 207 write_u64("reclaimed : ", stats->reclaimed, ", ", buf, maxlen); in write_block_map_statistics()
|
/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/tools/testing/selftests/cgroup/ |
H A D | test_memcontrol.c | 891 bool reclaimed = false; in reclaim_until() local 899 else if (reclaimed) in reclaim_until() 906 reclaimed = true; in reclaim_until() 910 return reclaimed; in reclaim_until()
|
/linux/fs/btrfs/ |
H A D | zoned.c | 2875 u64 reclaimed = 0; in btrfs_reset_unused_block_groups() local 2950 reclaimed = bg->alloc_offset; in btrfs_reset_unused_block_groups() 2957 ASSERT(reclaimed == bg->zone_capacity); in btrfs_reset_unused_block_groups() 2958 bg->free_space_ctl->free_space += reclaimed; in btrfs_reset_unused_block_groups() 2959 space_info->bytes_zone_unusable -= reclaimed; in btrfs_reset_unused_block_groups() 2961 btrfs_return_free_space(space_info, reclaimed); in btrfs_reset_unused_block_groups() 2964 if (num_bytes <= reclaimed) in btrfs_reset_unused_block_groups() 2966 num_bytes -= reclaimed; in btrfs_reset_unused_block_groups()
|
/linux/arch/x86/kernel/cpu/sgx/ |
H A D | encl.c | 28 * a PCMD page is in process of being reclaimed. 32 * When an enclave page is reclaimed some Paging Crypto MetaData (PCMD) is 33 * stored. The PCMD data of a reclaimed enclave page contains enough 37 * The backing storage to which enclave pages are reclaimed is laid out as 47 * reclaimed. 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/userspace-api/media/v4l/ |
H A D | vidioc-expbuf.rst | 63 the associated memory to be reclaimed.
|
/linux/Documentation/admin-guide/sysctl/ |
H A D | vm.rst | 272 reclaimed by the kernel when memory is needed elsewhere on the system. 432 for page allocation or should be reclaimed. 558 (fallback from the local zone occurs) slabs will be reclaimed if more 577 zone_reclaim_mode allows to be reclaimed. 1055 reclaimed if pages of different mobility are being mixed within pageblocks. 1062 15,000 means that up to 150% of the high watermark will be reclaimed in the 1066 worth of pages will be reclaimed (e.g. 2MB on 64-bit x86). A boost factor
|
/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/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 | 180 The page will be reclaimed soon after its pageout IO completed.
|
/linux/Documentation/admin-guide/cgroup-v1/ |
H A D | memory.rst | 505 reclaimed. 536 the cgroup will be reclaimed and as many pages reclaimed as possible. 574 unevictable # of bytes of memory that cannot be reclaimed (mlocked etc). 638 memory under it will be reclaimed.
|
/linux/Documentation/mm/ |
H A D | physical_memory.rst | 292 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/Documentation/filesystems/ext4/ |
H A D | atomic_writes.rst | 116 are reclaimed due to memory pressure, ``ext4_map_blocks()`` may never return
|
/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.
|
/linux/Documentation/filesystems/ |
H A D | proc.rst | 999 reclaimed to achieve this. 1136 reclaimed unless absolutely necessary. 1139 eligible to be reclaimed for other purposes 1141 Memory allocated for userspace which cannot be reclaimed, such 1188 Part of Slab, that might be reclaimed, such as caches 1190 Part of Slab, that cannot be reclaimed on memory pressure
|