Re: [kvm PATCH v7 2/2] kvm: x86: Dynamically allocate guest_fpu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Tue, Nov 6, 2018 at 2:49 PM Dave Hansen <dave.hansen@xxxxxxxxx> wrote:
On 11/6/18 2:20 PM, Marc Orr wrote:
>       r = -ENOMEM;
> +     x86_fpu_cache = kmem_cache_create_usercopy(
> +                             "x86_fpu",
> +                             fpu_kernel_xstate_size,
> +                             __alignof__(struct fpu),
> +                             SLAB_ACCOUNT,
> +                             offsetof(struct fpu, state),
> +                             fpu_kernel_xstate_size,
> +                             NULL);

I thought we came to the conclusion with Paulo that this should not be
"usercopy" at all.

Did you send out an old version?

Oops. Yes, I sent the old version. Re-sending now.

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux