Gleb Smirnoff d554522f6e tcp_hostcache: use SMR for lookups, mutex(9) for updates.
In certain cases, e.g. a SYN-flood from a limited set of hosts,
the TCP hostcache becomes the main contention point. To solve
that, this change introduces lockless lookups on the hostcache.

The cache remains a hash, however buckets are now CK_SLIST. For
updates a bucket mutex is obtained, for read an SMR section is
entered.

Reviewed by:	markj, rscheff
Differential revision:	https://reviews.freebsd.org/D29729
2021-04-20 10:02:20 -07:00
..
2020-12-25 11:33:17 +00:00
2020-11-29 13:41:49 +00:00
2020-11-22 20:21:10 +00:00
2021-02-25 10:13:52 +01:00
2019-12-06 16:35:48 +00:00
2019-10-07 22:40:05 +00:00
2020-10-07 15:22:48 +00:00
2020-09-24 12:26:06 +00:00
2021-01-24 00:07:41 +01:00
2020-09-24 12:26:06 +00:00
2021-01-31 23:46:53 +01:00
2020-09-24 12:26:06 +00:00
2021-01-24 00:07:41 +01:00
2021-04-18 16:16:42 +02:00
2021-02-18 22:36:01 -06:00
2021-04-18 16:16:42 +02:00
2021-04-18 16:16:42 +02:00
2021-04-18 16:16:42 +02:00