Home
last modified time | relevance | path

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

12

/linux-6.15/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()
240 unsigned long scanned, unsigned long reclaimed) in vmpressure() argument
285 vmpr->tree_reclaimed += reclaimed; in vmpressure()
300 reclaimed = vmpr->reclaimed += reclaimed; in vmpressure()
[all …]
H A Dvmscan.c341 current->reclaim_state->reclaimed = 0; in flush_reclaim_state()
784 if (reclaimed && !mapping_exiting(mapping)) in __remove_mapping()
4671 int reclaimed; in evict_folios() local
4700 sc->nr_reclaimed += reclaimed; in evict_folios()
4741 __count_vm_events(item, reclaimed); in evict_folios()
4910 sc->nr_reclaimed - reclaimed); in shrink_one()
5048 sc->nr_reclaimed += reclaimed; in lru_gen_shrink_node()
5054 if (sc->nr_reclaimed > reclaimed) in lru_gen_shrink_node()
5953 unsigned long reclaimed; in shrink_node_memcgs() local
5986 reclaimed = sc->nr_reclaimed; in shrink_node_memcgs()
[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()
H A Dmemcontrol.c4199 unsigned long reclaimed; in memory_high_write() local
4213 reclaimed = try_to_free_mem_cgroup_pages(memcg, nr_pages - high, in memory_high_write()
4216 if (!reclaimed && !nr_retries--) in memory_high_write()
4443 unsigned long reclaimed; in memory_reclaim() local
4456 reclaimed = try_to_free_mem_cgroup_pages(memcg, in memory_reclaim()
4461 if (!reclaimed && !nr_retries--) in memory_reclaim()
4464 nr_reclaimed += reclaimed; in memory_reclaim()
/linux-6.15/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.h155 unsigned long reclaimed; member
173 current->reclaim_state->reclaimed += pages; in mm_account_reclaimed_pages()
/linux-6.15/Documentation/admin-guide/mm/damon/
H A 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.
H A 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.15/drivers/md/dm-vdo/
H A Dstatistics.h113 u64 reclaimed; member
H A Dblock-map.c1044 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 Dmessage-stats.c207 write_u64("reclaimed : ", stats->reclaimed, ", ", buf, maxlen); in write_block_map_statistics()
/linux-6.15/tools/testing/selftests/cgroup/
H A 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.15/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-6.15/fs/btrfs/
H A Dzoned.c2705 u64 reclaimed = 0; in btrfs_reset_unused_block_groups() local
2780 reclaimed = bg->alloc_offset; in btrfs_reset_unused_block_groups()
2787 ASSERT(reclaimed == bg->zone_capacity); in btrfs_reset_unused_block_groups()
2788 bg->free_space_ctl->free_space += reclaimed; in btrfs_reset_unused_block_groups()
2789 space_info->bytes_zone_unusable -= reclaimed; in btrfs_reset_unused_block_groups()
2791 btrfs_return_free_space(space_info, reclaimed); in btrfs_reset_unused_block_groups()
2794 if (num_bytes <= reclaimed) in btrfs_reset_unused_block_groups()
2796 num_bytes -= reclaimed; in btrfs_reset_unused_block_groups()
/linux-6.15/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-6.15/mm/damon/
H A DKconfig92 pages reclaimed first under memory pressure.
/linux-6.15/Documentation/userspace-api/media/v4l/
H A Dvidioc-expbuf.rst63 the associated memory to be reclaimed.
/linux-6.15/Documentation/admin-guide/sysctl/
H A Dvm.rst265 reclaimed by the kernel when memory is needed elsewhere on the system.
425 for page allocation or should be reclaimed.
551 (fallback from the local zone occurs) slabs will be reclaimed if more
570 zone_reclaim_mode allows to be reclaimed.
1039 reclaimed if pages of different mobility are being mixed within pageblocks.
1046 15,000 means that up to 150% of the high watermark will be reclaimed in the
1050 worth of pages will be reclaimed (e.g. 2MB on 64-bit x86). A boost factor
/linux-6.15/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-6.15/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.
/linux-6.15/Documentation/admin-guide/
H A Dcgroup-v2.rst1534 Part of "slab" that might be reclaimed, such as
1538 Part of "slab" that cannot be reclaimed on memory
1560 an active workingset before they got reclaimed.
1564 active workingset before they got reclaimed.
1567 Number of times a shadow node has been reclaimed
1579 Amount of reclaimed pages
1594 Amount of reclaimed pages by kswapd
1597 Amount of reclaimed pages directly
1600 Amount of reclaimed pages by khugepaged
1603 Amount of reclaimed pages proactively
[all …]
/linux-6.15/Documentation/admin-guide/cgroup-v1/
H A Dmemory.rst505 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-6.15/Documentation/mm/
H A 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.15/drivers/block/drbd/
H A 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()
/linux-6.15/Documentation/arch/powerpc/
H A Dtransactional_memory.rst172 from the sighandler to the kernel will get reclaimed and discarded.

12