aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorRobin Murphy <[email protected]>2021-12-17 15:30:58 +0000
committerJoerg Roedel <[email protected]>2021-12-20 09:03:05 +0100
commit6b3106e9ba2de7320a71291cedcefdcf1195ad58 (patch)
treeff269d15f9fcea00aa87f60620744c3032d3dcd4 /scripts/patch-kernel
parent649ad9835a3783bcb6c69368fa939e0010abb2c6 (diff)
iommu/amd: Simplify pagetable freeing
For reasons unclear, pagetable freeing is an effectively recursive method implemented via an elaborate system of templated functions that turns out to account for 25% of the object file size. Implementing it using regular straightforward recursion makes the code simpler, and seems like a good thing to do before we work on it further. As part of that, also fix the types to avoid all the needless casting back and forth which just gets in the way. Signed-off-by: Robin Murphy <[email protected]> Link: https://lore.kernel.org/r/d3d00c9f3fa0df4756b867072c201e6e82f9ce39.1639753638.git.robin.murphy@arm.com Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions