Skip to content

ntsync: docs uAPI fixup and timens selftest

Iván Ezequiel Rodriguez linux-doc linux-kselftest lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2docs: ntsync: align ioctl names and struct layouts with uapiDocumentation/userspace-api/ntsync.rst+17 -160 replies
2/2selftests: ntsync: test absolute MONOTONIC waits under time namespacestools/testing/selftests/drivers/ntsync/ntsync.c+87 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ntsync: docs uAPI fixup and timens selftest

Short series for ntsync:

1/2 docs: align ioctl macro names and struct field order in
Documentation/userspace-api/ntsync.rst with include/uapi/linux/ntsync.h, and note that absolute MONOTONIC timeouts use the caller's time namespace.

2/2 selftests: add wait_any_monotonic_timens to lock in the timens
conversion in ntsync_schedule() (negative CLOCK_MONOTONIC offset must not make a 100 ms absolute wait return immediately).

No driver code changes.

Iván Ezequiel Rodriguez (2):
docs: ntsync: align ioctl names and struct layouts with uapi
selftests: ntsync: test absolute MONOTONIC waits under time namespaces

 Documentation/userspace-api/ntsync.rst        | 33 +++----
 .../testing/selftests/drivers/ntsync/ntsync.c | 87 +++++++++++++++++++
 2 files changed, 104 insertions(+), 16 deletions(-)
Signature · 1 line
2.43.0