Thanks for all the discussion on this. Give me a bit to investigate Dave's suggestions around refactoring the fpu state, and I'll report back with what I find. Thanks, Marc On Mon, Oct 29, 2018 at 11:12 AM Jim Mattson <jmattson@xxxxxxxxxx> wrote: > > On Mon, Oct 29, 2018 at 9:48 AM, Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote: > > On Mon, Oct 29, 2018 at 09:25:05AM -0700, Jim Mattson wrote: > >> On Sun, Oct 28, 2018 at 6:58 PM, Wanpeng Li <kernellwp@xxxxxxxxx> wrote: > >> > We have not yet encounter memory is too fragmented to allocate kvm > >> > related metadata in our overcommit pools, is this true requirement > >> > from the product environments? > >> > >> Yes. > > > > Are your logs granular enough to determine if turning this into an > > order-2 allocation (by splitting out "struct fpu" allocations) will be > > sufficient to resolve your problem, or do we need to turn it into an > > order-1 or vmalloc allocation to achieve your production goals? > > Turning this into an order-2 allocation should suffice.