Function report |
Source Code:kernel\locking\mutex.c |
Create Date:2022-07-28 09:47:20 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:After acquiring lock with fastpath, where we do not hold wait_lock, set ctx* and wake up any waiters so they can recheck.
Proto:static __always_inline void ww_mutex_set_context_fastpath(struct ww_mutex *lock, struct ww_acquire_ctx *ctx)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct ww_mutex * | lock | |
| struct ww_acquire_ctx * | ctx |
| 476 | smp_mb() |
| 496 | spin_unlock( & wait_lock) |
| Name | Describe |
|---|---|
| __mutex_lock_common | Lock a mutex (possibly interruptible), slowpath: |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |