>    reqfree-batching-3Name: reqfree-batching-3
>                      Type: Plain Text (text/plain)

This one works even better.


+               list_add(&req->table, &q->pending_freelist);
+               if (++q->pending_free > 64) {
                                       ^^^^^

I think a fraction of QUEUE_NR_REQUESTS should be better than a fixed
quantity.


Bye.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to