1LOCK_SOCK_FAST(9) Linux Networking LOCK_SOCK_FAST(9)
23
4
NAME
6lock_sock_fast - fast version of lock_sock
7
SYNOPSIS
9bool lock_sock_fast(struct sock * sk);
10
ARGUMENTS
12sk
13socket
14
DESCRIPTION
16This version should be used for very small section, where process wont
17block return false if fast path is taken sk_lock.slock locked, owned =
180, BH disabled return true if slow path is taken sk_lock.slock
19unlocked, owned = 1, BH enabled
20
COPYRIGHT
22Kernel Hackers Manual 3.10 June 2019 LOCK_SOCK_FAST(9)