Robert Watson
119d85f6e0
In udp_append() and udp_input(), make use of read locking on incpbs
...
rather than write locking: while we need to maintain a valid reference
to the inpcb and fix its state, no protocol layer state is modified
during an IPv4 UDP receive -- there are only changes at the socket
layer, which is separately protected by socket locking.
While parallel concurrent receive on a single UDP socket is currently
relatively unusual, introducing read locking in the transmit path,
allowing concurrent receive and transmit, will significantly improve
performance for loads such as BIND, memcached, etc.
MFC after: 2 months
Tested by: gnn, kris, ps
2008-06-30 18:26:43 +00:00
..
2008-06-22 11:39:42 +00:00
2007-10-07 20:44:24 +00:00
2007-10-07 20:44:24 +00:00
2007-05-17 21:20:24 +00:00
2007-07-19 22:34:25 +00:00
2008-05-09 23:03:00 +00:00
2008-05-09 23:03:00 +00:00
2007-12-31 23:48:06 +00:00
2007-06-12 16:24:56 +00:00
2007-10-28 15:55:23 +00:00
2007-06-15 18:59:10 +00:00
2007-10-07 20:44:24 +00:00
2008-05-09 23:03:00 +00:00
2008-05-09 23:03:00 +00:00
2008-05-09 23:03:00 +00:00
2008-05-09 23:03:00 +00:00
2008-04-13 05:45:14 +00:00
2008-05-09 23:03:00 +00:00
2008-05-09 23:03:00 +00:00
2008-06-24 13:58:28 +00:00
2008-04-17 12:50:42 +00:00
2008-06-02 18:58:07 +00:00
2006-12-01 18:37:41 +00:00
2008-04-21 12:03:59 +00:00
2008-05-22 08:10:31 +00:00
2007-11-06 23:01:42 +00:00
2007-10-07 20:44:24 +00:00
2007-10-07 20:44:24 +00:00
2008-05-09 23:03:00 +00:00
2008-05-09 23:03:00 +00:00
2008-06-01 12:29:23 +00:00
2008-03-03 10:12:46 +00:00
2008-05-09 23:03:00 +00:00
2007-10-07 20:44:24 +00:00
2008-05-12 02:44:53 +00:00
2008-02-06 15:40:30 +00:00
2008-05-09 23:03:00 +00:00
2008-04-09 05:17:18 +00:00
2008-04-09 05:17:18 +00:00
2008-05-09 23:03:00 +00:00
2008-05-09 23:03:00 +00:00
2008-05-09 23:03:00 +00:00
2007-05-11 10:48:30 +00:00
2008-05-09 23:03:00 +00:00
2008-05-09 23:03:00 +00:00
2007-10-19 12:46:15 +00:00
2008-05-22 08:10:31 +00:00
2008-06-14 07:58:05 +00:00
2008-05-20 13:47:46 +00:00
2008-06-14 07:58:05 +00:00
2007-06-09 13:46:57 +00:00
2008-06-14 07:58:05 +00:00
2008-06-14 07:58:05 +00:00
2008-06-14 07:58:05 +00:00
2007-09-10 17:06:25 +00:00
2008-05-20 13:47:46 +00:00
2007-05-08 17:01:12 +00:00
2007-05-08 17:01:12 +00:00
2008-06-14 07:58:05 +00:00
2008-06-14 07:58:05 +00:00
2007-06-22 13:50:56 +00:00
2008-06-14 07:58:05 +00:00
2008-05-20 13:47:46 +00:00
2008-06-14 13:24:49 +00:00
2008-06-14 13:24:49 +00:00
2007-08-24 00:53:53 +00:00
2008-06-14 07:58:05 +00:00
2008-05-20 13:47:46 +00:00
2008-06-15 12:31:23 +00:00
2008-06-15 12:31:23 +00:00
2008-06-14 07:58:05 +00:00
2007-05-08 17:01:12 +00:00
2008-05-20 13:47:46 +00:00
2008-06-14 07:58:05 +00:00
2008-06-14 07:58:05 +00:00
2008-06-14 07:58:05 +00:00
2007-09-13 10:36:43 +00:00
2008-06-14 07:58:05 +00:00
2008-06-15 12:31:23 +00:00
2008-06-15 12:31:23 +00:00
2008-06-14 07:58:05 +00:00
2008-06-14 07:58:05 +00:00
2008-05-20 13:47:46 +00:00
2007-10-07 20:44:24 +00:00
2007-03-24 22:15:02 +00:00
2007-07-30 11:06:42 +00:00
2007-10-07 20:44:24 +00:00
2008-05-09 23:03:00 +00:00
2008-06-11 22:12:50 +00:00
2008-06-11 22:12:50 +00:00
2007-12-19 05:17:40 +00:00
2008-04-19 03:22:43 +00:00
2008-04-17 21:38:18 +00:00
2008-04-17 21:38:18 +00:00
2008-04-17 21:38:18 +00:00
2008-06-02 14:20:26 +00:00
2008-06-16 20:08:22 +00:00
2007-12-12 20:35:59 +00:00
2008-06-02 14:20:26 +00:00
2007-09-24 05:26:24 +00:00
2008-04-17 21:38:18 +00:00
2008-05-05 23:13:27 +00:00
2008-04-20 18:36:59 +00:00
2008-05-05 20:13:31 +00:00
2007-12-16 05:30:21 +00:00
2008-06-30 18:26:43 +00:00
2007-07-10 09:30:46 +00:00
2007-02-20 10:13:11 +00:00