<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 05/30/2018 02:45 PM, Hal Murray via
devel wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20180530194555.4803740605C@ip-64-139-1-69.sjc.megapath.net">
<pre wrap="">It can be done in two steps. First is to dump the work-queue but still make
each packet get a buffer from the free queue and go back there. The second
is to remove the free queue.
</pre>
</blockquote>
<br>
Looking at the code, I believe this is the proper action plan for
stage 0 (and probably what the commits will look like):<br>
<br>
1. Stop using work queue. Handlers are called directly by the
receivers.<br>
<br>
2. Remove work queue checking by mainloop()<br>
<br>
3. Remove work queue.<br>
<br>
4. Stop using free queue. Receivers will simply use local structs.<br>
<br>
5. Remove free queue.<br>
<br>
Stage 1 would then involve refactoring the recvbuf struct to no
longer include the parts used by the queue system.<br>
<br>
<div class="moz-signature">-- <br>
<i>"In the end; what separates a Man, from a Slave? Money? Power?
No. A Man Chooses, a Slave Obeys."</i> -- Andrew Ryan
<p>
<i>"Utopia cannot precede the Utopian.
It will exist the moment we are fit to occupy it."</i> --
Sophia Lamb
</p>
<p>
I work for the <a href="https://icei.org/">Internet Civil
Engineering Institute</a>, help us save the Internet from
Entropy!
</p>
</div>
</body>
</html>