]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bpf: Batching iter for AF_UNIX sockets.'
authorAlexei Starovoitov <ast@kernel.org>
Tue, 18 Jan 2022 23:45:06 +0000 (15:45 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 18 Jan 2022 23:45:07 +0000 (15:45 -0800)
commit1d5dea40a86a5ea49905c422b9135b439b786b03
treed20875268b52fbb9c5dea70918083f6ef64eec1c
parent9e1431b58e111fa2d6f09bfef5f736ce31a669f9
parent262a9f063db7acae9d9e2f3aabe9ce14b7a1a3ab
Merge branch 'bpf: Batching iter for AF_UNIX sockets.'

Kuniyuki Iwashima says:

====================

Last year the commit 46c60a2fa599 ("af_unix: Replace the big lock with
small locks.") landed on bpf-next.  Now we can use a batching algorithm
for AF_UNIX bpf iter as TCP bpf iter.

Changelog:
- Add the 1st patch.
- Call unix_get_first() in .start()/.next() to always acquire a lock in
  each iteration in the 2nd patch.
====================

Signed-off-by: Alexei Starovoitov <ast@kernel.org>