Linus Torvalds writes: (Summary) wro=
te:
I have to admit that I didn't notice that fact - that we are already in the situation that
invalidate_range is called by by the rand_end() nofifier. So I think that simplifies J=C3=A9r=C3=B4me's patch further - once you have= put
the range_start/end() cases around the inner loop, you can just drop the invalidate_page() things entirely.
the invalidate_page() things entirely.
Yes. I missed the fact that we already called range() from range_end(). I missed the fact that we already called range() from range_end().
[...]
__mmu_notifier_invalidate_range_end.I have to admit that I didn't notice that fact - that we are already in the situation that
invalidate_range is called by by the rand_end() nofifier. So I think that simplifies J=C3=A9r=C3=B4me's patch further - once you have= put
the range_start/end() cases around the inner loop, you can just drop the invalidate_page() things entirely.
the invalidate_page() things entirely.
[...]
enough.Yes. I missed the fact that we already called range() from range_end(). I missed the fact that we already called range() from range_end().