| /OK3568_Linux_fs/kernel/Documentation/core-api/ |
| H A D | gfp_mask-from-fs-io.rst | 15 memory reclaim calling back into the FS or IO paths and blocking on 25 of GFP_NOFS/GFP_NOIO can lead to memory over-reclaim or other memory 26 reclaim issues. 44 any critical section with respect to the reclaim is started - e.g. 45 lock shared with the reclaim context or when a transaction context 46 nesting would be possible via reclaim. The restore function should be 48 explanation what is the reclaim context for easier maintenance.
|
| H A D | memory-allocation.rst | 43 direct reclaim may be triggered under memory pressure; the calling 46 handler, use ``GFP_NOWAIT``. This flag prevents direct reclaim and 74 prevent recursion deadlocks caused by direct memory reclaim calling 87 GFP flags and reclaim behavior 89 Memory allocations may trigger direct or background reclaim and it is 95 doesn't kick the background reclaim. Should be used carefully because it 97 reclaim. 101 context but can wake kswapd to reclaim memory if the zone is below 111 * ``GFP_KERNEL`` - both background and direct reclaim are allowed and the 119 reclaim (one round of reclaim in this implementation). The OOM killer [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/ |
| H A D | mali_kbase_mem_pool.c | 290 pool = container_of(s, struct kbase_mem_pool, reclaim); in kbase_mem_pool_reclaim_count_objects() 301 pool = container_of(s, struct kbase_mem_pool, reclaim); in kbase_mem_pool_reclaim_scan_objects() 338 pool->reclaim.shrink = kbase_mem_pool_reclaim_shrink; in kbase_mem_pool_init() 340 pool->reclaim.count_objects = kbase_mem_pool_reclaim_count_objects; in kbase_mem_pool_init() 341 pool->reclaim.scan_objects = kbase_mem_pool_reclaim_scan_objects; in kbase_mem_pool_init() 343 pool->reclaim.seeks = DEFAULT_SEEKS; in kbase_mem_pool_init() 347 pool->reclaim.batch = 0; in kbase_mem_pool_init() 349 register_shrinker(&pool->reclaim); in kbase_mem_pool_init() 366 unregister_shrinker(&pool->reclaim); in kbase_mem_pool_term()
|
| H A D | mali_kbase_mem_linux.c | 344 kctx = container_of(s, struct kbase_context, reclaim); in kbase_mem_evictable_reclaim_count_objects() 383 kctx = container_of(s, struct kbase_context, reclaim); in kbase_mem_evictable_reclaim_scan_objects() 446 kctx->reclaim.shrink = kbase_mem_evictable_reclaim_shrink; in kbase_mem_evictable_init() 448 kctx->reclaim.count_objects = kbase_mem_evictable_reclaim_count_objects; in kbase_mem_evictable_init() 449 kctx->reclaim.scan_objects = kbase_mem_evictable_reclaim_scan_objects; in kbase_mem_evictable_init() 451 kctx->reclaim.seeks = DEFAULT_SEEKS; in kbase_mem_evictable_init() 455 kctx->reclaim.batch = 0; in kbase_mem_evictable_init() 457 register_shrinker(&kctx->reclaim); in kbase_mem_evictable_init() 463 unregister_shrinker(&kctx->reclaim); in kbase_mem_evictable_deinit()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/ |
| H A D | mali_kbase_csf_tiler_heap_reclaim.c | 334 struct shrinker *reclaim = &scheduler->reclaim_mgr.heap_reclaim; in kbase_csf_tiler_heap_reclaim_mgr_init() local 343 reclaim->count_objects = kbase_csf_tiler_heap_reclaim_count_objects; in kbase_csf_tiler_heap_reclaim_mgr_init() 344 reclaim->scan_objects = kbase_csf_tiler_heap_reclaim_scan_objects; in kbase_csf_tiler_heap_reclaim_mgr_init() 345 reclaim->seeks = HEAP_SHRINKER_SEEKS; in kbase_csf_tiler_heap_reclaim_mgr_init() 346 reclaim->batch = HEAP_SHRINKER_BATCH; in kbase_csf_tiler_heap_reclaim_mgr_init()
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | gain.c | 28 double mult, reclaim, rms, limiter; member 77 p->reclaim = 1 / *effp->in_signal.mult; in start() 185 if (p->reclaim > p->mult) in start_drain() 186 lsx_report("%.3gdB not reclaimed", linear_to_dB(p->reclaim / p->mult)); in start_drain() 187 else p->mult = p->reclaim; in start_drain()
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/device-mapper/ |
| H A D | dm-zoned.rst | 27 internally for storing metadata and performaing reclaim operations. 108 situation, a reclaim process regularly scans used conventional zones and 109 tries to reclaim the least recently used zones by copying the valid 128 (for both incoming BIO processing and reclaim process) and all dirty 184 Normally the reclaim process will be started once there are less than 50 185 percent free random zones. In order to start the reclaim process manually 191 dmsetup message /dev/dm-X 0 reclaim 193 will start the reclaim process and random zones will be moved to sequential
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ |
| H A D | mali_kbase_mem_pool.c | 482 pool = container_of(s, struct kbase_mem_pool, reclaim); in kbase_mem_pool_reclaim_count_objects() 504 pool = container_of(s, struct kbase_mem_pool, reclaim); in kbase_mem_pool_reclaim_scan_objects() 547 pool->reclaim.count_objects = kbase_mem_pool_reclaim_count_objects; in kbase_mem_pool_init() 548 pool->reclaim.scan_objects = kbase_mem_pool_reclaim_scan_objects; in kbase_mem_pool_init() 549 pool->reclaim.seeks = DEFAULT_SEEKS; in kbase_mem_pool_init() 553 pool->reclaim.batch = 0; in kbase_mem_pool_init() 555 register_shrinker(&pool->reclaim); in kbase_mem_pool_init() 557 register_shrinker(&pool->reclaim, "mali-mem-pool"); in kbase_mem_pool_init() 584 unregister_shrinker(&pool->reclaim); in kbase_mem_pool_term()
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/sysctl/ |
| H A D | vm.rst | 282 reclaim to satisfy a high-order allocation. The extfrag/extfrag_index file in 315 where background reclaim (kswapd) kicks in, and the threshold where direct 316 reclaim (by allocating processes) kicks in. 322 size of 200MB may need 200MB of extra free memory to avoid direct reclaim 510 A percentage of the total pages in each zone. On Zone reclaim 514 systems that rarely perform global reclaim. 518 Note that slab reclaim is triggered in a per zone / node fashion. 528 This is a percentage of the total pages in each zone. Zone reclaim will 927 This percentage value controls the tendency of the kernel to reclaim 931 reclaim dentries and inodes at a "fair" rate with respect to pagecache and [all …]
|
| /OK3568_Linux_fs/kernel/mm/damon/ |
| H A D | Kconfig | 77 bool "Build DAMON-based reclaim (DAMON_RECLAIM)" 81 that not accessed for a long time (cold) using DAMON and reclaim
|
| H A D | Makefile | 7 obj-$(CONFIG_DAMON_RECLAIM) += reclaim.o
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | oxu210hp-hcd.c | 332 struct ehci_qh *reclaim; /* next to reclaim */ member 424 struct ehci_qh *reclaim; member 2083 struct ehci_qh *qh = oxu->reclaim; in end_unlink_async() 2093 next = qh->reclaim; in end_unlink_async() 2094 oxu->reclaim = next; in end_unlink_async() 2096 qh->reclaim = NULL; in end_unlink_async() 2115 oxu->reclaim = NULL; in end_unlink_async() 2130 BUG_ON(oxu->reclaim || (qh->qh_state != QH_STATE_LINKED in start_unlink_async() 2138 && !oxu->reclaim) { in start_unlink_async() 2149 oxu->reclaim = qh = qh_get(qh); in start_unlink_async() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | page-flags.h | 384 PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) in PAGEFLAG() 385 TESTCLEARFLAG(Reclaim, reclaim, PF_NO_TAIL) in PAGEFLAG() 386 PAGEFLAG(Readahead, reclaim, PF_NO_COMPOUND) in PAGEFLAG() 387 TESTCLEARFLAG(Readahead, reclaim, PF_NO_COMPOUND) in PAGEFLAG()
|
| /OK3568_Linux_fs/kernel/drivers/md/ |
| H A D | dm-zoned-target.c | 423 dmz_reclaim_bio_acc(zone->dev->reclaim); in dmz_handle_bio() 931 ret = dmz_ctr_reclaim(dmz->metadata, &dmz->dev[i].reclaim, i); in dmz_ctr() 974 dmz_dtr_reclaim(dmz->dev[i].reclaim); in dmz_dtr() 1047 dmz_suspend_reclaim(dmz->dev[i].reclaim); in dmz_suspend() 1061 dmz_resume_reclaim(dmz->dev[i].reclaim); in dmz_resume() 1136 dmz_schedule_reclaim(dmz->dev[i].reclaim); in dmz_message()
|
| H A D | dm-zoned.h | 57 struct dmz_reclaim *reclaim; member 292 dmz_reclaim_bio_acc(zone->dev->reclaim); in dmz_deactivate_zone()
|
| /OK3568_Linux_fs/kernel/Documentation/accounting/ |
| H A D | taskstats-struct.rst | 38 6) Extended delay accounting fields for memory reclaim 191 6) Extended delay accounting fields for memory reclaim:: 193 /* Delay waiting for memory reclaim */
|
| H A D | delay-accounting.rst | 15 d) memory reclaim 48 delay seen for cpu, sync block I/O, swapin, memory reclaim etc.
|
| /OK3568_Linux_fs/kernel/drivers/media/mmc/siano/ |
| H A D | smssdio.c | 303 goto reclaim; in smssdio_probe() 307 reclaim: in smssdio_probe()
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/cgroup-v1/ |
| H A D | memory.rst | 80 memory.force_empty trigger forced page reclaim 180 charged is over its limit. If it is, then reclaim is invoked on the cgroup. 181 More details can be found in the reclaim section of this document. 266 to reclaim memory from the cgroup so as to make space for the new 267 pages that the cgroup has touched. If the reclaim is unsuccessful, 271 The reclaim algorithm has not been modified for cgroups, except that 324 to trigger slab reclaim when those limits are reached. 372 In the current implementation, memory reclaim will NOT be 377 Since kmem charges will also be fed to the user counter and reclaim will be 611 Please note that unlike during the global reclaim, limit reclaim [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/mm/ |
| H A D | concepts.rst | 182 repurposing them is called (surprise!) `reclaim`. Linux can reclaim 193 will trigger `direct reclaim`. In this case allocation is stalled 211 Like reclaim, the compaction may happen asynchronously in the ``kcompactd`` 218 kernel will be unable to reclaim enough memory to continue to operate. In
|
| /OK3568_Linux_fs/kernel/fs/lockd/ |
| H A D | clntproc.c | 278 if (host->h_reclaiming && !argp->reclaim) in nlmclnt_call() 308 if (argp->reclaim) { in nlmclnt_call() 314 if (!argp->reclaim) { in nlmclnt_call() 632 req->a_args.reclaim = 1; in nlmclnt_reclaim()
|
| /OK3568_Linux_fs/kernel/include/linux/lockd/ |
| H A D | xdr.h | 66 u32 reclaim; member
|
| /OK3568_Linux_fs/kernel/Documentation/vm/ |
| H A D | unevictable-lru.rst | 32 reclaim in Linux. The problems have been observed at customer sites on large 110 not attempt to reclaim pages on the unevictable list. This has a couple of 113 (1) Because the pages are "hidden" from reclaim on the unevictable list, the 114 reclaim process can be more efficient, dealing only with pages that have a 271 reclaim a page in a VM_LOCKED VMA via try_to_unmap() 333 it later if and when it attempts to reclaim the page. 408 This is fine, because we'll catch it later if and if vmscan tries to reclaim 536 try_to_unmap() is always called, by either vmscan for reclaim or for page 543 When trying to reclaim, if try_to_unmap_one() finds the page in a VM_LOCKED 550 munlock or munmap system calls, mm teardown (munlock_vma_pages_all), reclaim,
|
| H A D | z3fold.rst | 29 depend on MMU enabled and provides more predictable reclaim behavior
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | tcp_metrics.c | 153 bool reclaim = false; in tcpm_new() local 163 reclaim = true; in tcpm_new() 171 if (unlikely(reclaim)) { in tcpm_new() 192 if (likely(!reclaim)) { in tcpm_new()
|