Maria Matejka
|
6eea722d3f
|
Forbid locking altogether when RCU reader is active
|
2024-06-28 22:03:45 +02:00 |
|
Maria Matejka
|
b797444e94
|
Merge commit 'b95dc8f29f18eb177f91fdc4bf0716fac9b15366' into mq-config-ref
Also converted all _Bool's to bool.
|
2024-06-26 17:19:24 +02:00 |
|
Maria Matejka
|
bd44a13ce5
|
Spinhash main lock removed
Spinhash now uses RCU instead to guard cur-new exchanges to avoid
excessive synchronization and cache misses on the main spinlock.
|
2024-06-26 11:29:12 +02:00 |
|
Maria Matejka
|
bd05dd7304
|
Netindex cleanup calls synchronize_rcu() by batches
|
2024-06-12 14:48:33 +02:00 |
|
Maria Matejka
|
76a1998ff5
|
Netindex rehash debug
|
2024-06-12 14:48:33 +02:00 |
|
Maria Matejka
|
d8c0faaec9
|
Netindex cleanup now doesn't need to unlock to synchronize RCU
|
2024-06-12 14:48:33 +02:00 |
|
Maria Matejka
|
47e493f228
|
Dropped net_resolve_index from feeder fast path
|
2024-06-12 14:48:33 +02:00 |
|
Maria Matejka
|
f516d7cfe9
|
Netindex: fix absurd hash parameters
|
2024-06-12 14:48:33 +02:00 |
|
Maria Matejka
|
fece55b810
|
Netindex: converted to spinlocked hash
|
2024-06-12 14:48:33 +02:00 |
|
Maria Matejka
|
d4733b28d9
|
Dropping netindex fragile manipulation
Now the netindex doesn't expose its internals and can be converted
to the spinlocked implementation much easier.
|
2024-06-12 09:23:50 +02:00 |
|
Maria Matejka
|
9e88fc5b6b
|
Netindex: allow u32 -> netindex without locking
|
2024-06-12 09:23:50 +02:00 |
|
Maria Matejka
|
8f4a784e14
|
Netindex is now net-type specific
Combining all network types in one netindex was just a waste of memory
and too much complexity for no reason.
|
2024-06-05 17:47:32 +02:00 |
|
Maria Matejka
|
34acf22fc7
|
Netindex: consistency checks and deletion of whole hash
|
2024-06-04 10:11:36 +02:00 |
|
Maria Matejka
|
03731bf356
|
Netindex: fixed resolving net by index
|
2024-05-25 19:37:16 +02:00 |
|
Maria Matejka
|
77659b1994
|
Netindex: Dropping tmp handle mechanism in favor of deferred lfuc_unlock
|
2024-05-22 11:34:34 +02:00 |
|
Maria Matejka
|
9624ebfd9a
|
Lock free usecount better debuggability
|
2024-01-10 09:19:27 +01:00 |
|
Maria Matejka
|
54d5e36ec0
|
Index of different net_addr values for hashing and bit-marking
For many reasons, it's handy to assign a contiguous range of integers to
known net_addr values. This is a data structure keeping this mapping.
|
2024-01-08 09:34:32 +01:00 |
|