Re: [PATCH 1/5] x86-32: Split cache flush handler from simd handler

From: H. Peter Anvin
Date: Sat Mar 20 2010 - 14:53:33 EST


On 03/19/2010 09:55 PM, H. Peter Anvin wrote:
>
> Ah, guess it was even older than I first realized ... I should have
> searched for the string "cache flush denied" instead.
>
> Sounds like we should do three things:
>
> a) update the comment to actually reflect what is going on;
> b) compile it out for > 486;
> c) report the error as trap 13 rather than 19.
>

Actually what we should do is recognize that this is nothing other than
a misdirected #GP, and as a result send the fault down the #GP handler
(do_general_protection)... there really isn't any need for a special
routine at all.

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