Re: ABI change for device drivers using future AVX instruction set

From: Avi Kivity
Date: Sun Jun 29 2008 - 09:30:38 EST


Andi Kleen wrote:



If you use xsave, I don't see how this is different to the user fpu save
area.

For once there's no clear error handling path for allocation failures
on the (arbitarily sized) xsave state. On user code that can be barely
tolerated, but for the kernel it would be deadly.

if (kernel_fpu_begin() < 0)
goto no_sse;

The question is not if it can be done or not, it's whether making raid preemptible is worthwhile, and whether we see/want more sse/avx accelerated drivers or not.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/