函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mmu_notifier.c Create Date:2022-07-27 17:10:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:unsigned long mmu_interval_read_begin(struct mmu_interval_notifier *mni)

返回类型:unsigned long

参数:

类型参数名称
struct mmu_interval_notifier *mni The range to use
185  mmn_mm等于mmu_notifier_mm
227  加自旋锁
229  seq等于READ_ONCE(invalidate_seq)
230  is_invalidating等于seq恒等于invalidate_seq
231  自旋锁解锁
240  lock_map_acquire( & __mmu_notifier_invalidate_range_start_map)
241  lock_map_release( & __mmu_notifier_invalidate_range_start_map)
242  如果is_invalidatingwait_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  返回:seq