On Fri, Sep 23, 2022 at 08:41:56PM +0800, Baolu Lu wrote:
On 2022/9/23 20:15, Jason Gunthorpe wrote:free_notifier allows to use mmu_notifier_put() instead of
On Fri, Sep 23, 2022 at 10:21:51AM +0800, Baolu Lu wrote:They are essentially the same, but slightly different. For example, arm
At the beginning of this project, I wanted to consolidate the mmIt doesn't look really different..
notifications into the core. However, ARM SMMUv3 and Intel handle the mm
notifications a little differently. Then I decided to do this work
separately from the current series.
smmuv3 provides .free_notifier, and I don't think it could be merged to
the release callback.
mmu_notifier_unregister() which avoids a synchronize_rcu() penalty on
teardown. Intel should copy the same design.