Re: [PATCH kernel v10 09/34] vfio: powerpc/spapr: Move locked_vm accounting to helpers

2015-05-12 Thread Gavin Shan
On Tue, May 12, 2015 at 01:38:58AM +1000, Alexey Kardashevskiy wrote: >There moves locked pages accounting to helpers. >Later they will be reused for Dynamic DMA windows (DDW). > >This reworks debug messages to show the current value and the limit. > >This stores the locked pages number in the cont

[PATCH kernel v10 09/34] vfio: powerpc/spapr: Move locked_vm accounting to helpers

2015-05-11 Thread Alexey Kardashevskiy
There moves locked pages accounting to helpers. Later they will be reused for Dynamic DMA windows (DDW). This reworks debug messages to show the current value and the limit. This stores the locked pages number in the container so when unlocking the iommu table pointer won't be needed. This does n