Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1502624

Re: [PATCH RFC 1/3] fpu/x86: add make_fpregs_active(_newstate) helper functions

From Andy Lutomirski <luto@amacapital.net>
Newsgroups linux.kernel
Subject Re: [PATCH RFC 1/3] fpu/x86: add make_fpregs_active(_newstate) helper functions
Date 2016-10-18 03:30 +0200
Message-ID <stro5-3kA-3@gated-at.bofh.it> (permalink)
References (1 earlier) <stmy5-8ps-13@gated-at.bofh.it> <stnaO-c4-7@gated-at.bofh.it> <stpcB-226-1@gated-at.bofh.it> <stpFD-2bU-11@gated-at.bofh.it> <stpPl-2fZ-49@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Oct 17, 2016 at 4:45 PM, Yu-cheng Yu <yu-cheng.yu@intel.com> wrote:
> On Mon, Oct 17, 2016 at 04:30:47PM -0700, Andy Lutomirski wrote:
>> Rik wants to add a different form of FPU laziness, and it would be
>> simpler if we could just always copy from a kernel buffer.  Does code
>> to do that exist in the tree?
>
> If we know fpregs are not active at the time of the copy and compacted format
> is the concern, can we use copyout_from_xsaves() in xstate.c?
>

Right, that.  Rik, that could be an alternative solution.

--Andy

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH RFC 1/3] fpu/x86: add make_fpregs_active(_newstate) helper functions riel@redhat.com - 2016-10-17 22:20 +0200
  Re: [PATCH RFC 1/3] fpu/x86: add make_fpregs_active(_newstate) helper functions Andy Lutomirski <luto@amacapital.net> - 2016-10-17 23:00 +0200
    Re: [PATCH RFC 1/3] fpu/x86: add make_fpregs_active(_newstate)  helper functions Yu-cheng Yu <yu-cheng.yu@intel.com> - 2016-10-18 01:10 +0200
      Re: [PATCH RFC 1/3] fpu/x86: add make_fpregs_active(_newstate) helper functions Andy Lutomirski <luto@amacapital.net> - 2016-10-18 01:40 +0200
        Re: [PATCH RFC 1/3] fpu/x86: add make_fpregs_active(_newstate)  helper functions Yu-cheng Yu <yu-cheng.yu@intel.com> - 2016-10-18 01:50 +0200
          Re: [PATCH RFC 1/3] fpu/x86: add make_fpregs_active(_newstate) helper functions Andy Lutomirski <luto@amacapital.net> - 2016-10-18 03:30 +0200

csiph-web