bind9/lib
Ondřej Surý 32a3970b13 Replace netievent lock-free queue with simple locked queue
The current implementation of isc_queue uses Michael-Scott lock-free
queue that in turn uses hazard pointers.  It was discovered that the way
we use the isc_queue, such complicated mechanism isn't really needed,
because most of the time, we either execute the work directly when on
nmthread (in case of UDP) or schedule the work from the matching
nmthreads.

Replace the current implementation of the isc_queue with a simple locked
ISC_LIST.  There's a slight improvement - since copying the whole list
is very lightweight - we move the queue into a new list before we start
the processing and locking just for moving the queue and not for every
single item on the list.

NOTE: There's a room for future improvements - since we don't guarantee
the order in which the netievents are processed, we could have two lists
- one unlocked that would be used when scheduling the work from the
matching thread and one locked that would be used from non-matching
thread.

(cherry picked from commit 6bd025942c)
2022-05-25 16:01:58 +02:00
..
bind9 prevent a possible buffer overflow in configuration check 2022-05-13 20:30:41 -07:00
dns Require valid key for dst_key functions 2022-05-23 12:31:23 +02:00
irs Consistenly use UNREACHABLE() instead of ISC_UNREACHABLE() 2022-03-28 23:28:05 +02:00
isc Replace netievent lock-free queue with simple locked queue 2022-05-25 16:01:58 +02:00
isccc Remove use of the inline keyword used as suggestion to compiler 2022-03-25 09:37:18 +01:00
isccfg Rename the configuration option to load balance sockets to reuseport 2022-04-06 17:51:12 +02:00
ns Cleanup: always count ns_statscounter_recursclients 2022-05-14 00:58:26 -07:00
win32/bindevt Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
Kyuafile Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
Makefile.in Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00