diff options
| author | Juergen Gross <[email protected]> | 2020-12-07 08:36:14 +0000 |
|---|---|---|
| committer | Juergen Gross <[email protected]> | 2020-12-09 09:31:41 +0000 |
| commit | ee32f32335e8c7f6154bf397f4ac9b6175b488a8 (patch) | |
| tree | f9283878959d530f26cfe002fb2b764b814ec0b6 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | xen: add helpers for caching grant mapping pages (diff) | |
| download | kernel-ee32f32335e8c7f6154bf397f4ac9b6175b488a8.tar.gz kernel-ee32f32335e8c7f6154bf397f4ac9b6175b488a8.zip | |
xen: don't use page->lru for ZONE_DEVICE memory
Commit 9e2369c06c8a18 ("xen: add helpers to allocate unpopulated
memory") introduced usage of ZONE_DEVICE memory for foreign memory
mappings.
Unfortunately this collides with using page->lru for Xen backend
private page caches.
Fix that by using page->zone_device_data instead.
Cc: <[email protected]> # 5.9
Fixes: 9e2369c06c8a18 ("xen: add helpers to allocate unpopulated memory")
Signed-off-by: Juergen Gross <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
Reviewed-by: Jason Andryuk <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
