Re: (reiserfs) Re: More on 2.2.18pre2aa2

From: Andrea Arcangeli (andrea@suse.de)
Date: Mon Sep 11 2000 - 08:28:42 EST


On Mon, 11 Sep 2000, Andi Kleen wrote:

>BTW, there is a another optimization that could help reiserfs a lot
>on SMP settings: do a unlock_kernel()/lock_kernel() around the user
>copies. It is quite legal to do that (you have to handle sleeping
>anyways in case of a page fault), and it allows CPUs to run in parallel
>for long running copies.

I'd prefer not to spend time to make 2.2.x to scale better in SMP, 2.4.x
just fixed that problem by dropping the big lock in first place in the
read/write paths :). The copy-user reschedule points were bugfixes
instead.

Andrea

-
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/



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:14 EST