]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
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)
Kuniyuki Iwashima says:

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

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

Trivial merge