1LOCK_SOCK_FAST(9)              Linux Networking              LOCK_SOCK_FAST(9)
2
3
4

NAME

6       lock_sock_fast - fast version of lock_sock
7

SYNOPSIS

9       bool lock_sock_fast(struct sock * sk);
10

ARGUMENTS

12       sk
13           socket
14

DESCRIPTION

16       This version should be used for very small section, where process wont
17       block return false if fast path is taken sk_lock.slock locked, owned =
18       0, BH disabled return true if slow path is taken sk_lock.slock
19       unlocked, owned = 1, BH enabled
20
22Kernel Hackers Manual 3.10         June 2019                 LOCK_SOCK_FAST(9)
Impressum