Anton Blanchard
0e4bc95d87
powerpc/iommu: Reduce spinlock coverage in iommu_alloc and iommu_free
...
We currently hold the IOMMU spinlock around tce_build and tce_flush.
This causes our spinlock hold times to be much higher than required
and can impact multiqueue adapters.
This patch moves tce_build and tce_flush outside of the lock in
iommu_alloc, and tce_flush outside of the lock in iommu_free.
Some performance numbers were obtained with a Chelsio T3 adapter on
two POWER7 boxes, running a 100 session TCP round robin test.
Performance improved 32% with this patch applied.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-07-03 14:14:47 +10:00
..
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00
2012-05-24 16:17:30 -07:00
2011-10-31 19:30:44 -04:00
2011-12-21 14:29:42 -08:00
2011-10-31 19:30:44 -04:00
2011-02-07 12:57:11 +11:00
2011-11-25 14:11:28 +11:00
2012-04-08 12:54:33 +03:00
2011-07-12 13:16:58 +03:00
2011-07-12 13:16:58 +03:00
2012-03-28 18:30:02 +01:00
2011-12-20 10:20:19 -05:00
2012-03-28 18:30:02 +01:00
2012-03-09 13:25:06 +11:00
2012-03-28 16:36:33 +02:00
2012-03-28 16:36:33 +02:00
2012-03-28 16:36:33 +02:00
2012-04-10 17:21:35 +10:00
2012-07-03 14:14:43 +10:00
2012-03-09 13:25:06 +11:00
2012-05-24 16:17:30 -07:00
2012-04-02 14:00:03 +10:00
2011-10-31 19:30:41 -04:00
2012-07-03 14:14:39 +10:00
2012-03-09 10:55:08 +11:00
2012-03-09 10:55:08 +11:00
2012-03-09 10:55:08 +11:00
2012-05-24 16:17:30 -07:00
2012-03-09 13:25:06 +11:00
2012-04-08 12:51:19 +03:00
2012-05-24 16:17:30 -07:00
2011-10-31 19:30:44 -04:00
2012-04-04 17:13:43 -07:00
2012-03-09 13:25:06 +11:00
2011-10-11 23:23:24 -05:00
2012-03-16 09:28:17 +11:00
2012-04-08 14:01:20 +03:00
2012-05-08 12:35:07 +02:00
2011-10-31 19:30:37 -04:00
2011-10-31 19:30:44 -04:00
2011-11-28 21:13:18 +02:00
2012-07-03 14:14:47 +10:00
2012-06-29 14:35:36 +10:00
2012-03-21 11:16:11 +11:00
2011-11-16 14:25:19 +11:00
2012-04-02 14:00:03 +10:00
2012-03-28 18:30:02 +01:00
2012-03-05 14:52:34 +02:00
2012-03-05 14:52:34 +02:00
2011-03-31 11:26:23 -03:00
2012-01-25 13:33:22 +11:00
2012-03-28 18:30:02 +01:00
2012-01-12 20:13:03 -08:00
2012-01-12 20:13:03 -08:00
2012-04-30 10:45:26 +10:00
2012-05-05 13:00:25 +02:00
2012-05-03 08:40:23 -04:00
2011-06-29 17:48:20 +10:00
2012-03-09 10:54:59 +11:00
2012-06-08 19:59:08 +10:00
2011-07-24 22:06:04 +09:30
2011-10-31 19:30:44 -04:00
2011-03-04 18:19:04 +11:00
2012-03-09 11:39:29 +11:00
2012-04-30 15:37:16 +10:00
2012-03-20 10:41:44 -07:00
2012-03-20 10:41:44 -07:00
2011-11-25 14:53:15 +11:00
2012-03-20 10:41:51 -07:00
2012-07-03 14:14:45 +10:00
2012-02-29 17:15:08 -05:00
2012-05-27 21:00:07 -07:00
2011-03-31 11:26:23 -03:00
2012-05-23 10:59:07 -07:00
2011-09-20 16:09:48 +10:00
2012-06-29 14:35:36 +10:00
2011-10-31 19:30:44 -04:00
2012-03-28 18:30:02 +01:00
2012-04-30 15:37:28 +10:00
2012-05-23 09:02:42 -07:00
2011-12-20 10:21:08 -05:00
2011-11-25 14:11:29 +11:00
2012-03-23 14:02:12 -07:00
2011-06-29 15:30:43 +10:00
2012-03-28 15:58:21 -07:00
2011-11-25 14:11:29 +11:00
2012-04-19 14:55:43 -05:00
2012-03-28 15:58:21 -07:00
2012-03-28 18:30:02 +01:00
2012-06-01 12:58:51 -04:00
2012-06-01 12:58:51 -04:00
2012-06-01 12:58:52 -04:00
2012-06-01 12:58:51 -04:00
2011-07-26 16:49:47 -07:00
2012-07-03 14:14:42 +10:00
2012-03-28 18:30:02 +01:00
2011-10-31 19:30:44 -04:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-06-08 14:07:35 +10:00
2012-05-09 09:42:33 +10:00
2011-05-06 13:32:41 +10:00
2012-03-28 11:33:23 +11:00
2012-03-28 15:58:21 -07:00
2012-04-30 15:37:17 +10:00
2012-05-14 10:49:09 +10:00
2012-03-09 10:54:59 +11:00