diff options
author | 2013-11-07 18:47:50 +0000 | |
---|---|---|
committer | 2013-12-06 16:44:13 +0000 | |
commit | a44a9791e778d9ccda50d5534028ed4057a9a45b (patch) | |
tree | 5d90175829600719209f730c5fdf3f4bc8e43363 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 3.13-rc2 (diff) | |
download | linux-dev-a44a9791e778d9ccda50d5534028ed4057a9a45b.tar.xz linux-dev-a44a9791e778d9ccda50d5534028ed4057a9a45b.zip |
iommu/arm-smmu: use mutex instead of spinlock for locking page tables
When creating IO mappings, we lazily allocate our page tables using the
standard, non-atomic allocator functions. This presents us with a
problem, since our page tables are protected with a spinlock.
This patch reworks the smmu_domain lock to use a mutex instead of a
spinlock. iova_to_phys is then reworked so that it only reads the page
tables, and can run in a lockless fashion, leaving the mutex to guard
against concurrent mapping threads.
Cc: <stable@vger.kernel.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions