Re: [PATCH] Updates to FXSR/SSE support in 2.4.0-test1

From: Gareth Hughes (gareth@precisioninsight.com)
Date: Sun Jun 11 2000 - 13:15:12 EDT

  • Next message: Alan Cox: "Re: [PATCH] Updates to FXSR/SSE support in 2.4.0-test1"

    Alan Cox wrote:
    >
    > > What happens when a signal occurs in a time slice where the application
    > > hasn't used the FPU? Having the regular FPU environment around means we
    >
    > You touch the FPU, it loads the FPU state you save both. If the FPU state
    > is already loaded it costs nothing. The FNSAVE stuff is horribly slow so
    > it is a real concern.

    I'm not sure I understand what you're advocating here. If you're okay
    with converting the FXSAVE data back and forth, then so am I.

    > > I'll play around with the conversion into/out of the signal handler and
    > > GETFPREGS request. Should only take a short while, so don't do anything
    > > with the stuff I sent out yesterday.
    >
    > Right now its correct, this is about being correct clean and fast so we are
    > going the right way

    I certainly agree with making it clean and fast, as well as correct.
    Would you prefer the conversion and just using FXSAVE/FXRSTOR?

    -- Gareth

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



    This archive was generated by hypermail 2b29 : Sat Jun 10 2000 - 21:16:57 EDT