Claude review: drm/pagemap: Drop source_peer_migrates flag and assume true

Claude Code Review Bot
2026-04-12T02:09:35Z

Patch Review

Straightforward cleanup. The only user (xe_svm.c) always set `source_peer_migrates = 1`. The conditional is removed and the body becomes unconditional:

```c
- if (mdetails->source_peer_migrates) {
- cur.dpagemap = src_zdd->dpagemap;
- cur.ops = src_zdd->devmem_allocation->ops;
- cur.device = cur.dpagemap->drm->dev;
- pages[i] = src_page;
- }
+ cur.dpagemap = src_zdd->dpagemap;
+ cur.ops = src_zdd->devmem_allocation->ops;
+ cur.device = cur.dpagemap->drm->dev;
+ pages[i] = src_page;
```

The kerneldoc for `can_migrate_same_pagemap` is properly updated to remove the stale reference to the dropped flag. Clean patch, no issues.

---
Generated by Claude Code Patch Reviewer