Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mmu_interval_read_begin - Begin a read side critical section against a VA* range* mmu_iterval_read_begin()/mmu_iterval_read_retry() implement a* collision-retry scheme similar to seqcount for the VA range under mni

Proto:unsigned long mmu_interval_read_begin(struct mmu_interval_notifier *mni)

Type:unsigned long

Parameter:

TypeParameterName
struct mmu_interval_notifier *mni The range to use
185  mmn_mm = mmu_notifier_mm
227  spin_lock( & serialize the list modifications and hlist_unhashed )
229  seq = READ_ONCE(invalidate_seq)
230  is_invalidating = seq == invalidate_seq
231  spin_unlock( & serialize the list modifications and hlist_unhashed )
240  lock_map_acquire( & __mmu_notifier_invalidate_range_start_map)
241  lock_map_release( & __mmu_notifier_invalidate_range_start_map)
242  If is_invalidating 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)
252  Return seq