Mathias Krause
0b6b098efc
padata: make the sequence counter an atomic_t
...
Using a spinlock to atomically increase a counter sounds wrong -- we've
atomic_t for this!
Also move 'seq_nr' to a different cache line than 'lock' to reduce cache
line trashing. This has the nice side effect of decreasing the size of
struct parallel_data from 192 to 128 bytes for a x86-64 build, e.g.
occupying only two instead of three cache lines.
Those changes results in a 5% performance increase on an IPsec test run
using pcrypt.
Btw. the seq_lock spinlock was never explicitly initialized -- one more
reason to get rid of it.
Signed-off-by: Mathias Krause <mathias.krause@secunet.com>
Acked-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2013-10-30 12:02:58 +08:00
..
2013-08-26 14:09:03 -04:00
2013-08-21 09:28:29 +02:00
2013-07-09 12:18:06 -07:00
2013-07-09 10:33:30 -07:00
2013-08-05 08:52:45 +09:00
2013-09-06 13:21:16 -07:00
2013-08-17 19:34:52 +01:00
2013-07-10 11:10:27 -07:00
2013-09-04 16:26:56 -07:00
2013-09-05 14:54:29 -07:00
2013-08-15 15:42:57 -07:00
2013-08-14 10:48:05 +02:00
2013-08-28 13:34:41 +02:00
2013-09-07 10:53:00 -07:00
2013-07-08 22:09:18 +01:00
2013-09-01 13:50:20 +01:00
2013-09-01 13:49:06 +01:00
2013-08-07 17:07:18 -04:00
2013-09-05 14:54:29 -07:00
2013-08-02 12:33:54 -07:00
2013-07-31 14:20:39 +02:00
2013-08-25 09:39:12 -04:00
2013-07-29 13:04:12 -07:00
2013-07-15 11:07:56 +01:00
2013-07-09 10:33:19 -07:00
2013-09-04 09:23:46 -04:00
2013-07-09 16:30:35 -07:00
2013-08-26 18:40:56 -04:00
2013-07-30 11:11:44 +02:00
2013-09-01 14:16:33 -07:00
2013-08-14 17:14:51 +02:00
2013-08-14 17:14:54 +02:00
2013-08-27 01:44:40 +02:00
2013-08-10 03:24:47 +02:00
2013-07-15 02:09:47 +02:00
2013-09-07 12:56:26 +10:00
2013-09-02 11:38:06 -07:00
2013-08-27 22:09:12 -07:00
2013-08-18 17:39:55 -07:00
2013-07-10 23:41:18 +01:00
2013-09-03 15:59:39 -07:00
2013-08-02 12:33:54 -07:00
2013-08-29 21:55:23 -04:00
2013-07-23 16:01:28 -07:00
2013-07-15 11:25:00 +09:30
2013-09-03 20:57:49 -04:00
2013-08-26 20:15:23 +09:00
2013-07-27 20:24:36 +02:00
2013-08-22 22:13:54 -07:00
2013-09-05 08:50:26 -07:00
2013-09-03 07:41:11 +02:00
2013-07-09 10:33:21 -07:00
2013-08-14 17:14:52 +02:00
2013-08-30 08:42:01 +10:00
2013-08-26 13:46:11 +02:00
2013-08-26 13:46:11 +02:00
2013-09-06 11:58:37 +02:00
2013-08-26 21:40:24 +02:00
2013-08-02 11:34:30 +08:00
2013-08-23 10:22:29 +02:00
2013-08-26 09:30:03 -07:00
2013-08-29 14:08:24 -04:00
2013-07-23 16:52:47 -07:00
2013-07-18 13:05:23 -07:00
2013-07-23 16:52:47 -07:00
2013-08-22 20:30:15 -07:00
2013-08-29 15:32:08 -04:00
2013-08-09 10:49:00 +02:00
2013-08-20 11:46:54 -07:00
2013-08-09 07:53:54 -07:00
2013-08-09 07:53:54 -07:00
2013-07-26 16:19:48 -07:00
2013-08-02 22:38:10 -04:00
2013-07-25 15:39:04 -07:00
2013-07-25 12:35:39 +02:00
2013-07-29 09:03:53 +02:00
2013-08-25 09:39:12 -04:00
2013-07-16 22:00:14 -07:00
2013-07-23 16:47:08 -07:00
2013-07-12 13:51:18 +02:00
2013-09-02 12:12:15 -07:00
2013-07-09 10:33:30 -07:00
2013-08-06 14:10:45 +00:00
2013-08-08 20:11:24 -04:00
2013-08-21 11:52:20 -07:00
2013-08-22 23:20:54 +08:00
2013-08-22 10:19:35 -07:00
2013-08-12 17:54:05 +02:00
2013-07-09 10:33:22 -07:00
2013-09-07 09:48:41 -07:00
2013-09-03 16:35:47 +09:30
2013-08-20 15:37:42 +09:30
2013-08-12 15:27:01 +00:00
2013-07-12 12:07:46 +02:00
2013-08-02 12:33:54 -07:00
2013-09-03 22:50:29 -04:00
2013-09-06 14:43:49 -04:00
2013-08-28 00:26:48 +02:00
2013-07-09 17:17:07 -04:00
2013-07-25 21:54:01 +02:00
2013-08-27 13:52:52 -04:00
2013-08-21 10:29:51 +01:00
2013-08-12 15:27:01 +00:00
2013-09-03 15:59:39 -07:00
2013-08-15 17:22:27 -07:00
2013-09-03 22:52:48 -04:00
2013-10-30 12:02:58 +08:00
2013-09-05 14:54:29 -07:00
2013-09-04 11:07:04 -07:00
2013-07-23 03:58:42 +02:00
2013-09-06 13:30:06 -07:00
2013-08-23 16:08:27 -04:00
2013-09-04 11:55:10 -07:00
2013-07-15 01:31:37 +02:00
2013-08-19 21:22:34 -07:00
2013-08-14 17:14:52 +02:00
2013-08-06 14:21:01 -07:00
2013-08-19 10:18:11 -07:00
2013-07-09 10:33:26 -07:00
2013-08-14 19:54:30 +01:00
2013-08-17 09:32:32 -04:00
2013-08-18 17:40:16 -07:00
2013-08-31 14:43:50 -07:00
2013-07-09 10:33:29 -07:00
2013-09-03 10:07:40 -07:00
2013-07-12 12:07:46 +02:00
2013-07-09 10:33:30 -07:00
2013-09-04 18:15:06 -07:00
2013-07-09 12:09:43 -07:00
2013-07-09 10:33:28 -07:00
2013-08-20 17:10:41 -07:00
2013-07-22 19:40:01 -07:00
2013-09-01 14:16:33 -07:00
2013-09-04 00:27:25 -04:00
2013-08-02 12:33:54 -07:00
2013-08-07 16:52:33 -07:00
2013-08-13 08:19:26 -07:00
2013-08-30 17:26:09 -04:00
2013-08-13 17:57:47 -07:00
2013-08-13 17:57:48 -07:00
2013-08-28 09:51:41 -07:00
2013-07-31 12:16:45 -07:00
2013-08-29 13:54:34 -07:00
2013-08-14 17:58:56 +02:00
2013-07-23 16:47:10 -07:00
2013-07-23 16:42:59 -07:00
2013-07-24 15:12:53 -07:00
2013-08-12 11:56:16 -07:00
2013-08-08 13:11:39 -07:00
2013-07-09 10:33:29 -07:00
2013-08-29 13:30:21 +10:00
2013-07-09 10:47:53 +09:30
2013-07-09 18:24:39 -07:00
2013-07-09 10:33:21 -07:00
2013-09-03 18:25:03 -07:00
2013-08-14 17:14:54 +02:00
2013-08-22 08:53:30 -07:00
2013-07-30 08:30:16 -04:00
2013-07-09 10:33:22 -07:00
2013-07-12 12:07:46 +02:00
2013-07-10 18:11:34 -07:00