Re: [PATCH v5.5 06/30] KVM: Use "new" memslot's address space ID instead of dedicated param
"Maciej S. Szmigiero" <[email protected]>
| Newsgroups | org.kernel.vger.kvm-ppc,dev.linux.lists.kvmarm,org.infradead.lists.kvm-riscv,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-riscv,org.kernel.vger.kvm,org.kernel.vger.linux-kernel,org.kernel.vger.linux-mips |
|---|---|
| Message-ID | <[email protected]> |
On 04.11.2021 01:25, Sean Christopherson wrote: > Now that the address space ID is stored in every slot, including fake > slots used for deletion, use the slot's as_id instead of passing in the > redundant information as a param to kvm_set_memslot(). This will greatly > simplify future memslot work by avoiding passing a large number of > variables around purely to honor @as_id. > > Drop a comment in the DELETE path about new->as_id being provided purely > for debug, as that's now a lie. > > No functional change intended. > > Signed-off-by: Sean Christopherson <[email protected]> Reviewed-by: Maciej S. Szmigiero <[email protected]>