Re: [PATCH 0/5] ccp: KVM: SVM: Use stack for SEV command buffers

2021-04-04 Thread Brijesh Singh
Hi Sean, On 4/2/21 6:36 PM, Sean Christopherson wrote: > While doing minor KVM cleanup to account various kernel allocations, I > noticed that all of the SEV command buffers are allocated via kmalloc(), > even for commands whose payloads is smaller than a pointer. After much > head scratching, th

[PATCH 0/5] ccp: KVM: SVM: Use stack for SEV command buffers

2021-04-02 Thread Sean Christopherson
While doing minor KVM cleanup to account various kernel allocations, I noticed that all of the SEV command buffers are allocated via kmalloc(), even for commands whose payloads is smaller than a pointer. After much head scratching, the only reason I could come up with for dynamically allocating th