lkml.org 
[lkml]   [2000]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ll_rw_blk.c fails to merge requests. Help!

> 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.086 / U:3.048 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site