table of contents
other versions
- wheezy 3.2.78-1
LOCK_SOCK_FAST(9) | Linux Networking | LOCK_SOCK_FAST(9) |
NAME¶
lock_sock_fast - fast version of lock_sockSYNOPSIS¶
bool
lock_sock_fast(struct sock * sk);
ARGUMENTS¶
sksocket
DESCRIPTION¶
This version should be used for very small section, where process wont block return false if fast path is taken sk_lock.slock locked, owned = 0, BH disabled return true if slow path is taken sk_lock.slock unlocked, owned = 1, BH enabledCOPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |