[kernel, v7, 1/7] powerpc/iommu: Pass mm_struct to init/cleanup helpers

Michael Ellerman patch-notifications at ellerman.id.au
Sat Dec 3 22:28:20 AEDT 2016


On Wed, 2016-11-30 at 06:51:59 UTC, Alexey Kardashevskiy wrote:
> We are going to get rid of @current references in mmu_context_boos3s64.c
> and cache mm_struct in the VFIO container. Since mm_context_t does not
> have reference counting, we will be using mm_struct which does have
> the reference counter.
> 
> This changes mm_iommu_init/mm_iommu_cleanup to receive mm_struct rather
> than mm_context_t (which is embedded into mm).
> 
> This should not cause any behavioral change.
> 
> Signed-off-by: Alexey Kardashevskiy <aik at ozlabs.ru>
> Reviewed-by: David Gibson <david at gibson.dropbear.id.au>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/88f54a3581eb9deaa3bd1aade40aef

cheers


More information about the Linuxppc-dev mailing list