Re: [PATCH] Significant performace improvements on reiserfs systems

From: Andrew Morton (akpm@zip.com.au)
Date: Thu Sep 20 2001 - 13:58:53 EST


Andrea Arcangeli wrote:
>
> ...
> --- 2.4.10pre12aa2/fs/buffer.c.~1~ Thu Sep 20 20:14:19 2001
> +++ 2.4.10pre12aa2/fs/buffer.c Thu Sep 20 20:45:58 2001
> @@ -2506,7 +2506,7 @@
> spin_unlock(&free_list[isize].lock);
>
> page->buffers = bh;
> - page->flags &= ~(1 << PG_referenced);
> + page->flags |= 1 << PG_referenced;

I don't see how this can change anything - getblk() calls
touch_buffer() shortly afterwards, which does the same
thing?
-
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/



This archive was generated by hypermail 2b29 : Sun Sep 23 2001 - 21:00:39 EST