Skip to content

futex: More futex2 bits

[email protected] linux-api linux-arch linux-mm lkml 3 versions – Applied

Status from this message: The following commit has been merged into the locking/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest15 patches 9 repliesApplied
  2. v214 patches 17 repliesSuperseded
  3. v114 patches 45 repliesSuperseded

Changes in v3 from the cover letter

- Rebased to v6.6-rc
- New FUTEX_STRICT flag (Andre)
- Reordered futex_size() helper (tglx)
- Updated some comments (tglx)
- Folded some tags

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/15futex: Clarify FUTEX2 flagsinclude/uapi/linux/futex.h kernel/futex/syscalls.c+16 -70 replies
2/15futex: Extend the FUTEX2 flagsinclude/uapi/linux/futex.h kernel/futex/syscalls.c+25 -50 replies
3/15futex: Flag conversionkernel/futex/futex.h kernel/futex/syscalls.c kernel/futex/waitwake.c+71 -200 replies
4/15futex: Validate futex value against futex sizekernel/futex/futex.h kernel/futex/syscalls.c+13 -00 replies
5/15futex: Add sys_futex_wake()arch/alpha/kernel/syscalls/syscall.tbl arch/arm/tools/syscall.tbl arch/arm64/include/asm/unistd.h +19 more+56 -20 replies
6/15futex: FLAGS_STRICTkernel/futex/futex.h kernel/futex/syscalls.c kernel/futex/waitwake.c+15 -111 reply
7/15futex: Add sys_futex_wait()arch/alpha/kernel/syscalls/syscall.tbl arch/arm/tools/syscall.tbl arch/arm64/include/asm/unistd.h +21 more+159 -600 replies
8/15futex: Propagate flags into get_futex_key()kernel/futex/core.c kernel/futex/futex.h kernel/futex/pi.c +2 more+18 -150 replies
9/15futex: Add flags2 argument to futex_requeue()kernel/futex/futex.h kernel/futex/requeue.c kernel/futex/syscalls.c+13 -100 replies
10/15futex: Add sys_futex_requeue()arch/alpha/kernel/syscalls/syscall.tbl arch/arm/tools/syscall.tbl arch/arm64/include/asm/unistd.h +19 more+64 -23 replies
11/15mm: Add vmalloc_huge_node()include/linux/vmalloc.h mm/vmalloc.c+8 -00 replies
12/15futex: Implement FUTEX2_NUMAinclude/linux/futex.h include/uapi/linux/futex.h kernel/futex/core.c +2 more+131 -250 replies
13/15futex: Propagate flags into futex_get_value_locked()kernel/futex/core.c kernel/futex/futex.h kernel/futex/pi.c +2 more+11 -110 replies
14/15futex: Enable FUTEX2_{8,16}include/linux/futex.h kernel/futex/core.c kernel/futex/futex.h +1 more+20 -90 replies
15/15futex,selftests: Extend the futex selfteststools/testing/selftests/futex/functional/futex_requeue.c tools/testing/selftests/futex/functional/futex_wait.c tools/testing/selftests/futex/functional/futex_wait_timeout.c +4 more+229 -291 reply
15/15futex,selftests: Extend the futex selfteststools/testing/selftests/futex/functional/futex_requeue.c tools/testing/selftests/futex/functional/futex_wait.c tools/testing/selftests/futex/functional/futex_wait_timeout.c +4 more+243 -300 replies

Reviews trailers per patch

13 of 16 patches have a Reviewed-by or Acked-by.

PatchThomas GleixnerAndré AlmeidaGeert UytterhoevenChristoph Hellwig
1/15R-b R-b
2/15R-b R-b
3/15R-b R-b
4/15R-b
5/15R-b A-b
6/15R-b
7/15R-b A-b
8/15R-b
9/15R-b
10/15R-b A-b
11/15R-b
12/15
13/15R-b
14/15R-b
15/15
15/15

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v3 thread

Cover letter [PATCH v3 00/15] futex: More futex2 bits

Hi!

New version of the futex2 patches. Futex2 is a new interface to the same 'old' futex core. An attempt to get away from the multiplex syscall and add a little room for extentions.

Changes since v2:
- Rebased to v6.6-rc
- New FUTEX_STRICT flag (Andre)
- Reordered futex_size() helper (tglx)
- Updated some comments (tglx)
- Folded some tags

My plan is to push the first 10 patches (all the syscalls) into tip/locking/core this afternoon. All those patches have plenty review tags including from Thomas who is the actual maintainer of this lot :-)

This should be plenty for Jens to get a move on with the io-uring stuff.

I'm holding off on the NUMA bits for now, because I want to write some userspace for it since there is some confusion on that -- but I seem to keep getting side-tracked :/

Patches also available at:

git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/core
git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/futex

Where the locking/core thing is the first 10 patches only, and barring Link tags (which I'll harvest from this posting), will be what I'll push out to tip.