diff options
author | Lu Baolu <[email protected]> | 2019-09-21 15:06:44 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2019-10-15 11:52:25 +0200 |
commit | 1ee0186b9a128a872887e16e2d1520ea37a95dc4 (patch) | |
tree | e0835eb23e87ed4fc2fe11fae4b4d82b2c8bc37e /tools/perf/scripts/python/futex-contention.py | |
parent | 4f5cafb5cb8471e54afdc9054d973535614f7675 (diff) |
iommu/vt-d: Refactor find_domain() helper
Current find_domain() helper checks and does the deferred domain
attachment and return the domain in use. This isn't always the
use case for the callers. Some callers only want to retrieve the
current domain in use.
This refactors find_domain() into two helpers: 1) find_domain()
only returns the domain in use; 2) deferred_attach_domain() does
the deferred domain attachment if required and return the domain
in use.
Cc: Ashok Raj <[email protected]>
Cc: Jacob Pan <[email protected]>
Cc: Kevin Tian <[email protected]>
Signed-off-by: Lu Baolu <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions