Re: [PATCH] Recent VM fiasco - fixed

From: Linus Torvalds (
Date: Thu May 11 2000 - 02:23:19 EST


 Having tested some more, the "wait for locked buffer" logic in
fs/buffer.c (sync_page_buffers()) seems toserialize thingsawhole lote more
than I initially thought..

Does it act the way you expect if you change the

        if (buffer_locked(p))
        else if (buffer_dirty(p))

to a simpler

        if (buffer_dirty(p) && !buffer_locked(p))

which doesn't endup serializing the IO all the time?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:17 EST