Home
last modified time | relevance | path

Searched refs:evicted (Results 1 – 22 of 22) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_bo_evict.c175 &xe->pinned.late.evicted, xe_bo_evict_pinned); in xe_bo_evict_all()
188 &xe->pinned.early.evicted, in xe_bo_evict_all()
228 return xe_bo_apply_to_pinned(xe, &xe->pinned.early.evicted, in xe_bo_restore_early()
248 ret = xe_bo_apply_to_pinned(xe, &xe->pinned.late.evicted, in xe_bo_restore_late()
346 INIT_LIST_HEAD(&xe->pinned.early.evicted); in xe_bo_pinned_init()
348 INIT_LIST_HEAD(&xe->pinned.late.evicted); in xe_bo_pinned_init()
H A Dxe_device_types.h494 struct list_head evicted; member
501 struct list_head evicted; member
H A Dxe_vm.c344 vm_bo->evicted = false; in xe_gpuvm_validate()
355 * Validates all evicted gem objects and rebinds their vmas. Note that
1800 * but even so, the unbind when evicted would still in xe_vm_close_and_put()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vm.h334 uint64_t evicted; member
362 struct list_head evicted; member
542 void amdgpu_vm_bo_invalidate(struct amdgpu_bo *bo, bool evicted);
547 bool evicted);
H A Damdgpu_vm.c142 * amdgpu_vm_bo_evicted - vm_bo is evicted
144 * @vm_bo: vm_bo which is evicted
158 list_move(&vm_bo->vm_status, &vm->evicted); in amdgpu_vm_bo_evicted()
160 list_move_tail(&vm_bo->vm_status, &vm->evicted); in amdgpu_vm_bo_evicted()
212 * amdgpu_vm_bo_evicted_user - vm_bo is evicted
214 * @vm_bo: vm_bo which is evicted
376 vm->stats[bo_memtype].evicted += size; in amdgpu_vm_update_stats_locked()
444 * is currently evicted. add the bo to the evicted list to make sure it in amdgpu_vm_bo_base_init()
577 * amdgpu_vm_validate - validate evicted BO
2278 amdgpu_vm_bo_invalidate(struct amdgpu_bo * bo,bool evicted) amdgpu_vm_bo_invalidate() argument
2313 amdgpu_vm_bo_move(struct amdgpu_bo * bo,struct ttm_resource * new_mem,bool evicted) amdgpu_vm_bo_move() argument
[all...]
/linux/Documentation/admin-guide/mm/
H A Dmultigen_lru.rst72 ``N`` milliseconds from getting evicted. The OOM killer is triggered
92 evicted generations in this file.
153 the active list) and therefore cannot be evicted. ``swappiness``
/linux/Documentation/gpu/
H A Ddrm-vm-bind-locking.rst99 Furthermore, it typically protects the gpu_vm's list of evicted and
109 to be able to update the gpu_vm evicted- and external object
259 option is to just mark the gpu_vm_bos of the evicted gem object with
260 an ``evicted`` bool that is inspected before the next time the
261 corresponding gpu_vm evicted list needs to be traversed. For example, when
264 gpu_vm_bo marked evicted, can then be added to the gpu_vm's list of
265 evicted gpu_vm_bos. The ``evicted`` bool is formally protected by the
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_device_queue_manager.c648 * Eviction state logic: mark all queues as evicted, even ones in create_queue_nocpsch()
652 q->properties.is_evicted = !!qpd->evicted; in create_queue_nocpsch()
1149 if (qpd->evicted++ > 0) /* already evicted, do nothing */ in evict_process_queues_nocpsch()
1157 /* Mark all queues as evicted. Deactivate all active queues on in evict_process_queues_nocpsch()
1199 if (qpd->evicted++ > 0) /* already evicted, do nothing */ in evict_process_queues_cpsch()
1217 /* Mark all queues as evicted. Deactivate all active queues on in evict_process_queues_cpsch()
1268 if (WARN_ON_ONCE(!qpd->evicted)) /* already restored, do nothing */ in restore_process_queues_nocpsch()
1270 if (qpd->evicted > in restore_process_queues_nocpsch()
[all...]
H A Dkfd_priv.h486 * @is_evicted: Defines if the queue is evicted. Only active queues
487 * are evicted, rendering them inactive.
674 unsigned int evicted; /* eviction counter, 0=active */ member
724 /* Approx. wait time before attempting to restore evicted BOs */
H A Dkfd_process.c60 /* Ordered, single-threaded workqueue for restoring evicted
64 * remain evicted indefinitely.
1720 pdd->qpd.evicted = 0; in kfd_create_process_device_data()
2005 * we would like to set all the queues to be in evicted state to prevent in kfd_process_evict_queues()
2177 * before KFD BOs are unreserved. If not, the process can be evicted in restore_process_worker()
/linux/Documentation/admin-guide/device-mapper/
H A Dcache-policies.rst15 e.g. to start writing back dirty blocks that are going to be evicted
/linux/mm/
H A Dworkingset.c44 * are evicted from the inactive list every time before another access
92 * 1. When a page is finally evicted from memory, the number of
132 * had (R - E) more page slots, the page would not have been evicted
156 * used once will be evicted from memory.
177 * slot of the evicted page. This is called a shadow entry.
255 atomic_long_add(delta, &lrugen->evicted[hist][type][tier]); in lru_gen_eviction()
261 * Tests if the shadow entry is for a folio that was recently evicted.
376 * @folio: the folio being evicted
379 * of the evicted @folio so that a later refault can be detected.
408 * recently evicted
[all...]
H A Dvmscan.c3174 atomic_long_read(&lrugen->evicted[hist][type][i]); in read_ctrl_pos()
3202 atomic_long_read(&lrugen->evicted[hist][type][tier]); in reset_ctrl_pos()
3208 atomic_long_set(&lrugen->evicted[hist][type][tier], 0); in reset_ctrl_pos()
5377 n[1] = atomic_long_read(&lrugen->evicted[hist][type][tier]); in lru_gen_seq_show_full()
H A DKconfig1391 from evicted generations for debugging purpose.
/linux/drivers/gpu/drm/
H A Ddrm_gpuvm.c89 * as entry for the &drm_gpuvm's lists of external and evicted objects. Those
91 * validation of evicted objects bound in a &drm_gpuvm. For instance, all
94 * order to validate all evicted &drm_gem_objects. It is also possible to lock
514 * The &drm_gpuvm's lists for keeping track of external and evicted objects are
1257 if (vm_bo->evicted) in drm_gpuvm_prepare_objects_locked()
1504 if (!vm_bo->evicted) in drm_gpuvm_validate_locked()
1512 * drm_gpuvm_validate() - validate all BOs marked as evicted
1513 * @gpuvm: the &drm_gpuvm to validate evicted BOs
1516 * Calls the &drm_gpuvm_ops::vm_bo_validate callback for all evicted buffer
1610 * list, the extobj list, or the evicted lis
[all...]
/linux/Documentation/mm/
H A Dmultigen_lru.rst87 pages can be evicted regardless of swap constraints. These three
151 from getting evicted. The OOM killer is triggered if this working set
H A Dunevictable-lru.rst127 may be evicted. To prevent eviction of any such pages, the AS_UNEVICTABLE
/linux/drivers/firmware/efi/
H A DKconfig180 have been evicted, since otherwise it will trigger even on clean
/linux/include/linux/
H A Dmmzone.h508 atomic_long_t evicted[NR_HIST_GENS][ANON_AND_FILE][MAX_NR_TIERS]; member
/linux/Documentation/arch/x86/
H A Dsgx.rst64 number for a page evicted from the EPC.
/linux/Documentation/filesystems/
H A Dvfat.rst207 evicted from the inode cache. However, it means that operations
/linux/init/
H A DKconfig2010 pages marked for writeback, (recently) evicted pages).