Re: [PATCH] Use correct macros in raid code, not raw asm
From: Linus Torvalds <torvalds@osdl.org>
Date: 2006-12-28 23:52:46
Also in:
lkml
From: Linus Torvalds <torvalds@osdl.org>
Date: 2006-12-28 23:52:46
Also in:
lkml
On Fri, 29 Dec 2006, Rusty Russell wrote:
This make sure it's paravirtualized correctly when CONFIG_PARAVIRT=y.
Why doesn't this code use "kernel_fpu_begin()" and "kernel_fpu_end()"? The raid6 code is crap, and slower. It does "fsave/frstor" or movaps or other crud, and the thing is, it shouldn't. It should just do kernel_fpu_begin/end(), which does it all right, and avoids saving any state at all unless it's being used by the user RIGHT NOW. Linus