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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to