lkml.org 
[lkml]   [2005]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: NFS client latencies

* Ingo Molnar <mingo@elte.hu> wrote:

> [...] To break the latency, can i just do a simple lock-break, via the
> patch below?

i think it's incorrect in its current form, because 'pos' is not
necessarily safe and might be removed from the commit_list?

the whole loop could be a "while (!list_empty(head))" thing, if it wasnt
for the possibility for an nfs_set_page_writeback_locked() to skip an
entry. Maybe a local list of 'already processed' requests should be
built, and once the main list is emptied, moved back into the main list?
Then the lock-break could be moved to the end of the loop.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-04-06 13:31    [W:0.366 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site