]> 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)
commit0e44b5e86f20a732ac418d62eaf6e79c77723cdf
treed20875268b52fbb9c5dea70918083f6ef64eec1c
parent8dd6ace322250f370ef4fed535170201492f6834
parente20f5d311ede62da7503ecedc735c97879659fc6
Merge branch 'bpf: Batching iter for AF_UNIX sockets.'

Kuniyuki Iwashima says:

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

Last year the commit 4fd67f956d01 ("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>