Skip to content
Commit a8e8af35 authored by Lianbo Jiang's avatar Lianbo Jiang Committed by Joerg Roedel
Browse files

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: default avatarRobin Murphy <robin.murphy@arm.com>
Signed-off-by: default avatarLianbo Jiang <lijiang@redhat.com>
Signed-off-by: default avatarRobin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20210126115337.20068-2-lijiang@redhat.com


Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 262948f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment