From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E6F2C18E5B for ; Thu, 2 Apr 2020 08:49:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 16412208E4 for ; Thu, 2 Apr 2020 08:49:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387855AbgDBItX (ORCPT ); Thu, 2 Apr 2020 04:49:23 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:36465 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728612AbgDBItW (ORCPT ); Thu, 2 Apr 2020 04:49:22 -0400 Received: from p5de0bf0b.dip0.t-ipconnect.de ([93.224.191.11] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jJvXL-00082I-AT; Thu, 02 Apr 2020 10:49:19 +0200 Received: by nanos.tec.linutronix.de (Postfix, from userid 1000) id B68F9100D52; Thu, 2 Apr 2020 10:49:18 +0200 (CEST) From: Thomas Gleixner To: "Michael Kerrisk \(man-pages\)" Cc: mtk.manpages@gmail.com, linux-man , lkml , arul.jeniston@gmail.com, "devi R.K" , Marc Lehmann , John Stultz , Andrei Vagin , Cyrill Gorcunov Subject: Re: timer_settime() and ECANCELED In-Reply-To: <4c557b44-4e4e-a689-a17b-f95e6c5ee4b0@gmail.com> References: <87pncrf6gd.fsf@nanos.tec.linutronix.de> <4c557b44-4e4e-a689-a17b-f95e6c5ee4b0@gmail.com> Date: Thu, 02 Apr 2020 10:49:18 +0200 Message-ID: <87mu7unugh.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Michael, "Michael Kerrisk (man-pages)" writes: > On 4/1/20 7:42 PM, Thomas Gleixner wrote: >> (b): Arming the timer in that case is indeed very questionable, but it >> could be argued that because the clock was set event happened with >> the old expiry value that the new expiry value is not affected. >> >> I'd be happy to change that and not arm the timer in the case of a >> pending cancel, but I fear that some user space already depends on >> that behaviour. > > Yes, that's the risk, of course. So, shall we just document all > this in the manual page? I think so. Thanks, tglx