Re: [PATCH v2 3/3] i387: support lazy restore of FPU state

From: H. Peter Anvin
Date: Mon Feb 20 2012 - 21:14:43 EST


On 02/20/2012 06:10 PM, Linus Torvalds wrote:
> On Mon, Feb 20, 2012 at 5:50 PM, Josh Boyer <jwboyer@xxxxxxxxx> wrote:
>>
>> I haven't tried really figuring this out yet, but building the Fedora kernel
>> on x86_64 with your latest tree results in:
>>
>> ERROR: "fpu_owner_task" [lib/raid6/raid6_pq.ko] undefined!
>
> Ugh. My dislike of modules on my machines strikes again, and
> apparently nobody else tested the patches I sent out.
>
> The attached trivial patch fixes it, I bet.
>
> Although I do wonder if we should just make kernel_fpu_begin() be a
> real function instead of inlining it. I'm not sure it makes sense to
> inline that thing, and it might be better to export that one instead.
> Comments?
>

I would agree with that.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

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