aboutsummaryrefslogtreecommitdiff
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2017-09-19 14:48:39 +0100
committerJoerg Roedel <jroedel@suse.de>2017-09-28 14:57:15 +0200
commit7595dc588a39c37091ddf65f6c0a3cd40f128e7a (patch)
treed7b15dd852595d6af6a15336b80f9e69e3ac7f3b /fs/proc/array.c
parent973f5fbedb0721ab964386a5fe5120998e71580c (diff)
iommu/iova: Simplify domain destruction
All put_iova_domain() should have to worry about is freeing memory - by that point the domain must no longer be live, so the act of cleaning up doesn't need to be concurrency-safe or maintain the rbtree in a self-consistent state. There's no need to waste time with locking or emptying the rcache magazines, and we can just use the postorder traversal helper to clear out the remaining rbtree entries in-place. Signed-off-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions