summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/task-analyzer-record
diff options
context:
space:
mode:
authorShuicheng Lin <shuicheng.lin@intel.com>2026-07-21 20:55:15 +0000
committerShuicheng Lin <shuicheng.lin@intel.com>2026-07-22 15:55:49 -0700
commitcc98c031846e3f2f2f91fe4256d5754cd2f7ef71 (patch)
tree0437aad0436aab1fb954df142a6d98679d433293 /tools/perf/scripts/python/bin/task-analyzer-record
parentca2a3587d577ba764e0fe628fb676244fc33ddd4 (diff)
drm/xe/vm: Remove redundant INIT_WORK() for rebind_work in xe_vm_create()
xe_vm_create() initializes vm->preempt.rebind_work twice for LR-mode VMs: once in the LR-mode setup block before xe_svm_init(), and again inside the xe_validation_guard() block. The second call is a no-op on top of the first since the work is never queued between them, but re-initializing a work item is unnecessary and makes lifetime and ordering harder to reason about (e.g., any future change that queues the work earlier would be silently corrupted by the second INIT_WORK). Drop the duplicate INIT_WORK() and keep only the batch_invalidate_tlb flag handling in the later LR-mode block. The single INIT_WORK() call in the earlier LR-mode setup block remains the sole initialization. No functional change. Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com> Assisted-by: Claude:claude-opus-4.7 Reviewed-by: Matthew Brost <matthew.brost@intel.com> Link: https://patch.msgid.link/20260721205516.4058959-3-shuicheng.lin@intel.com Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions