Files
linux/drivers
David Woodhouse 147202aa77 intel-iommu: Speed up map routines by using cached domain ASAP
We did before, in the end -- but it was at the bottom of a long stack of
functions. Add an inline wrapper get_valid_domain_for_dev() which will
use the cached one _first_ and only make the out-of-line call if it's
not already set.

This takes the average time taken for a 1-page intel_map_sg() from 5961
cycles to 4812 cycles on my Lenovo x200s test box -- a modest 20%.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2009-07-07 19:43:24 +01:00
..
…
2009-06-23 01:54:30 -04:00
…
2009-06-16 19:50:13 -07:00
2009-07-03 15:45:29 +01:00
…
…
2009-06-16 19:50:13 -07:00
2009-06-17 09:35:24 -07:00
2009-07-03 15:45:29 +01:00
2009-06-16 19:50:13 -07:00
…
2009-07-03 15:45:29 +01:00
…
2009-07-03 11:54:57 +02:00
2009-06-18 13:04:04 -07:00
2009-06-30 18:56:00 -07:00
2009-06-18 13:04:04 -07:00
2009-06-15 16:47:25 +10:00
2009-07-06 13:57:03 -07:00
…
…
2009-06-30 18:56:00 -07:00
2009-07-03 15:45:27 +01:00
…
…
2009-07-06 13:57:03 -07:00
…
2009-06-18 13:04:04 -07:00
2009-06-18 13:04:04 -07:00