OSDN Git Service

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)
commit712d47938dcaf9973791e1f600c70dab272bed55
treed20875268b52fbb9c5dea70918083f6ef64eec1c
parent2a1aff6035187d877d7b6f28f81b0a084c00e17a
parenta796966b6ea0abe05eebeb2443391b283f89b1e0
Merge branch 'bpf: Batching iter for AF_UNIX sockets.'

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>