[PATCH 1/1] powerpc: kvm: Reduce calls to get current->mm by storing the value locally

Leonardo Bras leonardo at linux.ibm.com
Tue Sep 24 04:35:21 AEST 2019


On Thu, 2019-09-19 at 23:47 -0300, Leonardo Bras wrote:
> Hello Paul, 
> I sent this patch, but I have a question:
> 
> > +	mm = current->mm;
> 
> Here, current->mm is not always the same as kvm->mm? 
> Thanks


I have contacted Paul, who said it is equivalent. But I think I will
deal with that on another patch series, as it's another issue.

Could you please provide feedback on this patch?

Best regards, 
Leonardo Bras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20190923/9d6e558e/attachment.sig>


More information about the Linuxppc-dev mailing list