Re: [PATCH v1] futex.2: Document FUTEX_LOCK_PI2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kurt, Thomas,

On 7/29/21 10:18 AM, Thomas Gleixner wrote:
On Fri, Jun 25 2021 at 12:10, Kurt Kanzenbach wrote:
FUTEX_LOCK_PI2 is a new futex operation which was recently introduced into the
Linux kernel. It works exactly like FUTEX_LOCK_PI. However, it has support for
selectable clocks for timeouts. By default CLOCK_MONOTONIC is used. If
FUTEX_CLOCK_REALTIME is specified then the timeout is measured against
CLOCK_REALTIME.

This new operation addresses an inconsistency in the futex interface:
FUTEX_LOCK_PI only works with timeouts based on CLOCK_REALTIME in contrast to
all the other PI operations.

Document the FUTEX_LOCK_PI2 command.

Signed-off-by: Kurt Kanzenbach <kurt@xxxxxxxxxxxxx>

Sorry, I merged it and forgot to reply. Patch applied (And a minor inconsistency fixed: s/5.14.0/5.14/ ; All references to kernel 5 versions have 2 fields in the manual pages). And some other minor fixes too.


Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>


Thanks for the review.  I'll add that line.

--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux