aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorZhu Lingshan <[email protected]>2024-06-04 16:49:34 +0800
committerChristian König <[email protected]>2024-06-20 15:47:34 +0200
commit0ddd2ae586d28e521d37393364d989ce118802e0 (patch)
tree67c314d73a0532ef2a161e3bba78636071dbfd65 /tools/perf/scripts/python
parentc1391205754f0ddab5f990cd0642d0fa8fc4c6b7 (diff)
drm/ttm: increase ttm pre-fault value to PMD size
ttm page fault handler ttm_bo_vm_fault_reserved() maps TTM_BO_VM_NUM_PREFAULT more pages beforehand due to the principle of locality. However, on some platform the page faults are more costly, this patch intends to increase the number of ttm pre-fault to relieve the number of page faults. When multiple levels of page table is supported, the new default value would be the PMD size, similar to huge page. Signed-off-by: Zhu Lingshan <[email protected]> Reported-and-tested-by: Li Jingxiang <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Christian König <[email protected]> Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions