On 11/2/2020 7:22 PM, Jason Gunthorpe wrote:
On Wed, Oct 28, 2020 at 09:22:43PM -0400, Dennis Dalessandro wrote:
Will add a Cc for stable once the patch is finalized. I'd like to get
some more feedback on this patch especially in the mmu_interval_notifier
stuff.
Which mmu_interval_notifier stuff in this patch?
Can you convert this last usage of mmu_notifier in mmu_rb_handler to
use an interval notifier? I seem to remember thinking it was the right
thing but too complicated for me to attempt
The call to mmu_interval_notifier_insert() in set_rcvarray_entry()
specifically. Instead of passing the saved mm I changed it to use current.
Yes we may be able to convert to the interval notifier for the rest of
it. I'd rather do that as a separate patch and get this fixed for 5.10
and in the stable kernels and do that as a for-next sort of thing.
-Denny