Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\bit_spinlock.h Create Date:2022-07-28 05:41:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:-based spin_lock()* Don't use this unless you really need to: spin_lock() and spin_unlock()* are significantly faster.

Proto:static inline void bit_spin_lock(int bitnum, unsigned long *addr)

Type:void

Parameter:

TypeParameterName
intbitnum
unsigned long *addr
25  Even if we don't have any preemption, we need preempt disable/enable* to be barriers, so that we don't have things like get_user/put_user* that can cause faults and scheduling migrate into our preempt-protected* region.()
35  __acquire(bitlock)
Caller
NameDescribe
slab_lockPer slab locking using the pagelock
pin_tag
end_buffer_async_read
end_buffer_async_writeCompletion handler for block_write_full_page() - pages which are unlocked* during I/O, and which have PageWriteback cleared upon I/O completion.