Messages in this thread | | | Subject | Re: [PATCH v8 4/5] x86/mm: Add noalias variants of set_memory_*crypted() functions | From | Kai Huang <> | Date | Tue, 28 Jun 2022 13:15:21 +1200 |
| |
> > I still don't like the idea of using the DMA API itself. But, maybe we > need some common infrastructure that the DMA API and this code use which > says, "get me some pages that I can safely make shared".
Right. For instance any KVM PV feature would require shared memory, and DMA API normally doesn't fit (taking 'struct kvm_steal_time' as example).
Maybe we can reserve a CMA for this purpose.
-- Thanks, -Kai
| |