Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mmu_notifier.c Create Date:2022-07-28 15:37:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mmu_interval_notifier_remove - Remove a interval notifier*@mni: Interval notifier to unregister* This function must be paired with mmu_interval_notifier_insert()

Proto:void mmu_interval_notifier_remove(struct mmu_interval_notifier *mni)

Type:void

Parameter:

TypeParameterName
struct mmu_interval_notifier *mni
984  mm = mm
985  mmn_mm = mmu_notifier_mm
986  seq = 0
988  might_sleep()
990  spin_lock( & serialize the list modifications and hlist_unhashed )
991  If This is a collision-retry read-side/write-side 'lock', a lot like a* seqcount, however this allows multiple write-sides to hold it at* once Then
998  Else
1001  seq = invalidate_seq
1003  Else
1004  WARN_ON('empty' nodes are nodes that are known not to be inserted in an rbtree ( & rb))
1005  interval_tree_remove( & interval_tree, & itree)
1007  spin_unlock( & serialize the list modifications and hlist_unhashed )
1013  lock_map_acquire( & __mmu_notifier_invalidate_range_start_map)
1014  lock_map_release( & __mmu_notifier_invalidate_range_start_map)
1015  If seq Then wait_event - sleep until a condition gets true*@wq_head: the waitqueue to wait on*@condition: a C expression for the event to wait for* The process is put to sleep (TASK_UNINTERRUPTIBLE) until the*@condition evaluates to true(wq, READ_ONCE(invalidate_seq) != seq)
1020  mmdrop(mm)