diff options
author | Lianbo Jiang <lijiang@redhat.com> | 2021-01-26 14:53:36 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2021-01-28 15:27:21 +0300 |
commit | a8e8af35c9f4f75f981a95488c7066d31bac4bef (patch) | |
tree | 3295e01e3e1dc22ef30fd5be9936b2d8c777d181 /arch/x86/um | |
parent | 262948f8ba573dc9c61650df8f23eaea7d43bc61 (diff) | |
download | linux-a8e8af35c9f4f75f981a95488c7066d31bac4bef.tar.xz |
dma-iommu: use static-key to minimize the impact in the fast-path
Let's move out the is_kdump_kernel() check from iommu_dma_deferred_attach()
to iommu_dma_init(), and use the static-key in the fast-path to minimize
the impact in the normal case.
Co-developed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Lianbo Jiang <lijiang@redhat.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20210126115337.20068-2-lijiang@redhat.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'arch/x86/um')
0 files changed, 0 insertions, 0 deletions