diff options
author | Stefano Stabellini | 2019-05-29 00:48:22 +0200 |
---|---|---|
committer | Konrad Rzeszutek Wilk | 2019-06-05 16:09:26 +0200 |
commit | 4e7372e0dc5d7d2078fbdb13505635cd5b11f93d (patch) | |
tree | fae9f967cff6fa82ec939db85f676dda5caef8e8 /kernel/bpf/bpf_lru_list.c | |
parent | swiotlb-xen: ensure we have a single callsite for xen_dma_map_page (diff) | |
download | kernel-qcow2-linux-4e7372e0dc5d7d2078fbdb13505635cd5b11f93d.tar.gz kernel-qcow2-linux-4e7372e0dc5d7d2078fbdb13505635cd5b11f93d.tar.xz kernel-qcow2-linux-4e7372e0dc5d7d2078fbdb13505635cd5b11f93d.zip |
xen/swiotlb: don't initialize swiotlb twice on arm64
On arm64 swiotlb is often (not always) already initialized by mem_init.
We don't want to initialize it twice, which would trigger a second
memory allocation. Moreover, the second memory pool is typically made of
high pages and ends up replacing the original memory pool of low pages.
As a side effect of this change, it is possible to have low pages in
swiotlb-xen on arm64.
Signed-off-by: Stefano Stabellini <stefanos@xilinx.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'kernel/bpf/bpf_lru_list.c')
0 files changed, 0 insertions, 0 deletions