From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id A5AA9394740B for ; Mon, 21 Jun 2021 20:07:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A5AA9394740B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com IronPort-SDR: g7obAXlLQKaTfvPtgIAKVG0ySq+wEPFSVMcfcWYTHLaYKP4ivz24RuE/JDmiXfw6TKGgCYGqCE 07H5WPtP96XMKzbuM3PWvPJEs3SuIxPXcLP+l/S9zxpbM870OIBSNkfm79moib4kx5wnzr7iPm 5YRRTf6NVDrL3gFxXfjbaXMIjduq7+Epli9/51xR7ODBUkm8jo7IRaSNxcGXyR7qXWWwaRJhx6 y9FkhRx4TlULhYRX+VL+Okpw/CphPdvsSAVPWU9RKNmtrTg141R03dfa72ZxPL7K+LwYjVWiKm Xqc= X-IronPort-AV: E=Sophos;i="5.83,289,1616486400"; d="scan'208";a="65073556" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 21 Jun 2021 12:07:45 -0800 IronPort-SDR: Ii0h5Fm/CQXSy7pkjNxRtNzYbdwKuW+0m2JohCpUYJQcXlQUIrymcA5rCTGbu7dEpr5DDTEhA5 LQFzDGUxrmlhYCJkkxssX+TA0XZ3BNQw692P+iawWKrMoHnGRlM257kKI4NR9Le77Qk8n395mB QmXZHzeZ3zmF1behXvvDq8XEgb5qJUWLPl6scUmLZmaN1GPLCLLrvmoChUP+LnGW+RN8aXqFqi 6ND+JR6XV78SJZfF/dcN8ekn5YzmtVgZRqlJpQtnMFwZmRPhqdLdnBnz0JlZZ00s8O4f3pVfM6 yqM= Date: Mon, 21 Jun 2021 20:07:39 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Kurt Kanzenbach CC: , Florian Weimer , Sebastian Andrzej Siewior , Thomas Gleixner Subject: Re: [PATCH RFC 3/3] nptl: Include CLOCK_MONOTONIC in mutex tests In-Reply-To: <20210621111650.1164689-4-kurt@linutronix.de> Message-ID: References: <20210621111650.1164689-1-kurt@linutronix.de> <20210621111650.1164689-4-kurt@linutronix.de> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-3126.5 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2021 20:07:48 -0000 On Mon, 21 Jun 2021, Kurt Kanzenbach via Libc-alpha wrote: > diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h > index 1680b10ca1b6..eb5c4d5a04bd 100644 > --- a/sysdeps/unix/sysv/linux/kernel-features.h > +++ b/sysdeps/unix/sysv/linux/kernel-features.h > @@ -218,4 +218,12 @@ > # define __ASSUME_FACCESSAT2 0 > #endif > > +/* The FUTEX_LOCK_PI2 operation was introduced across all architectures in Linux > + 5.14. */ > +#if __LINUX_KERNEL_VERSION >= 0x051400 0x051400 is 5.20.0, not 5.14.0. I'd expect this change to appear in an earlier patch, with __ASSUME_FUTEX_LOCK_PI2 conditionals being used to disable fallback support for kernels found at runtime not to support the new feature. -- Joseph S. Myers joseph@codesourcery.com