diff options
author | Juergen Gross <jgross@suse.com> | 2020-12-07 09:36:14 +0100 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2020-12-09 10:31:41 +0100 |
commit | ee32f32335e8c7f6154bf397f4ac9b6175b488a8 (patch) | |
tree | f9283878959d530f26cfe002fb2b764b814ec0b6 /lib | |
parent | xen: add helpers for caching grant mapping pages (diff) | |
download | linux-ee32f32335e8c7f6154bf397f4ac9b6175b488a8.tar.xz linux-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: <stable@vger.kernel.org> # 5.9
Fixes: 9e2369c06c8a18 ("xen: add helpers to allocate unpopulated memory")
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovksy@oracle.com>
Reviewed-by: Jason Andryuk <jandryuk@gmail.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions