xe_svm_handle_pagefault(9)
πΈ NAME πΈ
xe_svm_handle_pagefault β SVM handle page fault. Okay bestie, welcome to the xe_svm_handle_pagefault(9) page from the Kernel API Manual π
β¨
β¨ SYNOPSIS β¨
Here's the signature, keep it cute and keep it exact π«Ά
int xe_svm_handle_pagefault (struct xe_vm *vm , struct xe_vma *vma ,
struct xe_gt *gt , u64 fault_addr , bool atomic );
π ARGUMENTS π
vmβ the VM, bestie.vmaβ the CPU address mirror VMA.gtβ thegtwhere the fault occurred.fault_addrβ the GPU fault address.atomicβ the fault atomic access bit.
π¦ DESCRIPTION π¦
So what's the vibe? It creates GPU bindings for an SVM page fault. Optionally, it migrates to device memory. That's the whole little mission, no cap π
π RETURN π
Returns 0 on success, and a negative error code on error. No in-between, periodt πβ¨
π SEE ALSO π
- Kernel file:
./drivers/gpu/drm/xe/xe_svm.c drm_pagemapreference-counting inxe:(9)xe_svm_init(9)xe_svm_close(9)xe_svm_fini(9)xe_svm_range_validate(9)xe_svm_find_vma_start(9)xe_svm_range_needs_migrate_to_vram(9)xe_svm_has_mapping(9)xe_svm_unmap_address_range(9)xe_svm_bo_evict(9)xe_svm_range_find_or_insert(9)xe_svm_range_get_pages(9)xe_svm_ranges_zap_ptes_in_range(9)xe_vma_resolve_pagemap(9)xe_svm_alloc_vram(9)xe_pagemap_create(9)xe_pagemap_find_or_create(9)xe_pagemap_shrinker_create(9)xe_pagemap_cache_create(9)xe_drm_pagemap_from_fd(9)xe_svm_flush(9)
Source/version: ./drivers/gpu/drm/xe Β· date: October 2026 Β· page: xe_svm_handle_pagefault(9) β mwah, go handle those faults bestie πβ¨π¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms