Skip to content

net/socket.c: switch to CLASS(fd)

Al Viro bpf cgroups kvm linux-fsdevel netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest28 patches 4 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/28net/socket.c: switch to CLASS(fd)include/linux/file.h net/socket.c+137 -1723 replies
2/28regularize emptiness checks in fini_module(2) and vfs_dedupe_file_range()fs/remap_range.c kernel/module/main.c+5 -40 replies
3/28timerfd: switch to CLASS(fd)fs/timerfd.c+14 -260 replies
4/28get rid of perf_fget_light(), convert kernel/events/core.c to CLASS(fd)kernel/events/core.c+16 -330 replies
5/28switch netlink_getsockbyfilp() to taking descriptorinclude/linux/netlink.h ipc/mqueue.c net/netlink/af_netlink.c+9 -100 replies
6/28do_mq_notify(): saner skb freeing on failuresipc/mqueue.c+5 -110 replies
7/28do_mq_notify(): switch to CLASS(fd)ipc/mqueue.c+3 -60 replies
8/28simplify xfs_find_handle() a bitfs/xfs/xfs_handle.c+7 -90 replies
9/28convert vmsplice() to CLASS(fd)fs/splice.c+10 -230 replies
10/28fdget_raw() users: switch to CLASS(fd_raw)arch/arm/kernel/sys_oabi-compat.c fs/fcntl.c fs/namei.c +5 more+47 -830 replies
11/28introduce "fd_pos" class, convert fdget_pos() users to it.arch/alpha/kernel/osf_sys.c fs/read_write.c fs/readdir.c +1 more+26 -420 replies
12/28o2hb_region_dev_store(): avoid goto around fdget()/fdput()fs/ocfs2/cluster/heartbeat.c+5 -60 replies
13/28privcmd_ioeventfd_assign(): don't open-code eventfd_ctx_fdget()drivers/xen/privcmd.c+1 -100 replies
14/28fdget(), trivial conversionsarch/powerpc/kvm/book3s_64_vio.c arch/powerpc/kvm/powerpc.c arch/powerpc/platforms/cell/spu_syscalls.c +28 more+164 -3391 reply
15/28fdget(), more trivial conversionsdrivers/infiniband/core/ucma.c drivers/vfio/group.c fs/eventpoll.c +23 more+202 -4180 replies
16/28convert do_preadv()/do_pwritev()fs/read_write.c+4 -80 replies
17/28convert cachestat(2)mm/filemap.c+5 -120 replies
18/28switch spufs_calls_{get,put}() to CLASS() usearch/powerpc/platforms/cell/spu_syscalls.c+17 -350 replies
19/28convert spu_run(2)arch/powerpc/platforms/cell/spu_syscalls.c+5 -90 replies
20/28convert media_request_get_by_fd()drivers/media/mc/mc-request.c+6 -120 replies
21/28convert cifs_ioctl_copychunk()fs/smb/client/ioctl.c+4 -70 replies
22/28convert vfs_dedupe_file_range().fs/remap_range.c+2 -40 replies
23/28convert do_select()fs/select.c+10 -110 replies
24/28do_pollfd(): convert to CLASS(fd)fs/select.c+11 -160 replies
25/28assorted variants of irqfd setup: convert to CLASS(fd)drivers/vfio/virqfd.c drivers/virt/acrn/irqfd.c drivers/xen/privcmd.c +1 more+14 -470 replies
26/28memcg_write_event_control(): switch to CLASS(fd)mm/memcontrol-v1.c+15 -290 replies
27/28css_set_fork(): switch to CLASS(fd_raw, ...)kernel/cgroup/cgroup.c+4 -80 replies
28/28deal with the last remaing boolean uses of fd_file()drivers/infiniband/core/uverbs_cmd.c include/linux/cleanup.h sound/core/pcm_native.c+5 -70 replies

Reviews trailers per patch

22 of 28 patches have a Reviewed-by or Acked-by.

PatchChristian Brauner
1/28R-b
2/28R-b
3/28R-b
4/28R-b
5/28R-b
6/28
7/28R-b
8/28
9/28R-b
10/28R-b
11/28R-b
12/28
13/28
14/28R-b
15/28R-b
16/28R-b
17/28R-b
18/28
19/28R-b
20/28R-b
21/28R-b
22/28R-b
23/28R-b
24/28R-b
25/28
26/28R-b
27/28R-b
28/28R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread