Hartmut Brandt
adcdb48eb5
Replace the lock-less algorithm for the free item list with a more
...
conservative lock. The problem with the lock-less algorithm is that
it suffers from the ABA problem. Running an application with funnels
a couple of 100kpkts/s through the netgraph system on a dual CPU system
with MPSAFE drivers will panic almost immediatly with the old algorithm.
It may be possible to eliminate the contention between threads that insert
free items into the list and those that get free items by using the
Michael/Scott queue algorithm that has two locks.
2003-11-05 10:32:21 +00:00
..
2003-10-31 18:32:15 +00:00
2003-10-12 22:04:24 +00:00
2002-08-22 00:30:03 +00:00
2002-05-31 23:48:03 +00:00
2002-05-31 23:48:03 +00:00
2003-11-05 10:32:21 +00:00
2002-05-31 23:48:03 +00:00
2002-06-01 20:40:05 +00:00
2003-10-31 18:32:15 +00:00
2002-05-31 23:48:03 +00:00
2003-02-19 05:47:46 +00:00
2002-05-31 23:48:03 +00:00
2003-03-03 12:15:54 +00:00
2002-06-18 21:32:33 +00:00
2003-10-31 18:32:15 +00:00
2002-05-31 23:48:03 +00:00
2002-05-31 23:48:03 +00:00
2002-05-31 23:48:03 +00:00
2003-10-31 18:32:15 +00:00
2003-10-31 18:32:15 +00:00
2002-10-29 19:12:44 +00:00
2003-02-19 05:47:46 +00:00
2003-03-05 19:24:24 +00:00
2003-03-05 19:24:24 +00:00
2003-10-31 18:32:15 +00:00
2003-10-31 18:32:15 +00:00
2003-03-05 19:24:24 +00:00
2003-03-04 23:19:55 +00:00
2003-08-20 22:11:58 +00:00
2002-05-31 23:48:03 +00:00
2003-04-04 12:12:34 +00:00
2002-08-20 21:59:50 +00:00
2003-02-19 05:47:46 +00:00
2003-10-22 07:35:05 +00:00
2003-02-05 19:11:11 +00:00
2003-02-19 05:47:46 +00:00
2002-05-31 23:48:03 +00:00
2002-11-08 21:13:18 +00:00
2002-05-31 23:48:03 +00:00
2003-04-29 13:36:06 +00:00
2002-05-31 23:48:03 +00:00
2003-02-19 05:47:46 +00:00
2002-09-23 18:54:32 +00:00
2003-04-04 12:12:34 +00:00
2002-05-31 23:48:03 +00:00
2003-02-19 05:47:46 +00:00
2002-05-31 23:48:03 +00:00
2002-05-31 23:48:03 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2002-10-31 23:03:09 +00:00
2003-07-03 22:09:47 +00:00
2002-05-31 23:48:03 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2002-05-31 23:48:03 +00:00