Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4061079ima; Mon, 4 Feb 2019 09:31:54 -0800 (PST) X-Google-Smtp-Source: AHgI3IZycQEP1YFJbV2To1BblyRz5D1tVTDOd8OGUi49dOjvF76Dzt5Fg9luIDzqSzWfECg7pkRM X-Received: by 2002:a17:902:7b88:: with SMTP id w8mr498494pll.320.1549301514556; Mon, 04 Feb 2019 09:31:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549301514; cv=none; d=google.com; s=arc-20160816; b=iz+hGupZWgE2z9s8z+80PtQ76VljpNjxpcKzIyxF16cIVnPDEZ6MNGYhaHRbUNd3P6 y1qok9U4lWWyjRfg6gTgQPplMbGwuvMhyhrv9Ae01N+RGITd7VB+1qDH7Up8pUM3hoT3 Kb64Uw03PU0u87DbK8vKBpfyZUoSnM46rYxjZ7rPR1KOptJ/RA3r4RUdfq07bRATYmsz 9Mmdq7xVvQNDnM6xI92wZxbd5Clf9y6VXpyn+ZSEohvfxfm1AutrJSLKWlVZkb72LEna PVS2yKLX8Kl/a7511pWubXOo0HTjktRLP3RoXsEXe5Srrq5jViqnslfUy5hSQHfdtGAG sx4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=LqNPAEVLiNFkNWv3ht2aRNtG0kPmq4f9pXHTd26TPu4=; b=IJk2S6GXxmxZ4j+3YOAFN77FLTMXzUjs2kEjTUhl8zoARNds5pSeHA/Ph5emrTHzHW XovTrsbMzBRDIAEVw/txvVaE+pCky2R/VSk+Us0/uPgNaICQEUIc0+U4xnc10pU4qiHD uM0SIKBq+MZrsNuEzeyrcLjiCkoxbYRDnyqDw+uYvu7ChLVFeDOKVNYokX8zYxUnuLaQ TuT/OWBclZ9LtdaTftfZp1DaGdIP5ldOEHKInkp1sTvjBrDFtJurxI7b3RWjx4VxJzj2 iyPvNFqH5q1pekASXJCPXdPQwjdwj/hTLimIiNUP1+VP1IK/kD1x+giaIgRTOLEuv6wr TLTA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3si550860plo.217.2019.02.04.09.31.37; Mon, 04 Feb 2019 09:31:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727767AbfBDRZR (ORCPT + 99 others); Mon, 4 Feb 2019 12:25:17 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:55934 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725980AbfBDRZR (ORCPT ); Mon, 4 Feb 2019 12:25:17 -0500 Received: from [176.12.107.132] (helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gqhzc-0002fs-O3; Mon, 04 Feb 2019 18:25:12 +0100 Date: Mon, 4 Feb 2019 17:25:11 +0000 (GMT) From: Thomas Gleixner To: Alan Mackenzie cc: LKML , 34235@debbugs.gnu.org, Eli Zaretskii , Alex Branham , Paul Eggert , Greg KH Subject: Re: 0e334db6bb4b1fd1e2d72c1f3d8f004313cd9f94 (posix-timers: Fix division by zero bug). Problems with glibc. In-Reply-To: <20190202104404.GA1067@ACM> Message-ID: References: <20190201214700.GA4950@ACM> <20190202104404.GA1067@ACM> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 On Sat, 2 Feb 2019, Alan Mackenzie wrote: > Hello, Thomas. > > Thanks for such a rapid reply! > > On Fri, Feb 01, 2019 at 23:04:48 +0100, Thomas Gleixner wrote: > > Hello Alan, > > > On Fri, 1 Feb 2019, Alan Mackenzie wrote: > > > 0e334db6bb4b1fd1e2d72c1f3d8f004313cd9f94 > > > posix-timers: Fix division by zero bug > > > Committed: 2018-12-17 17:35:45 +0100 > > > > With this patch in place I am seeing problems with glibc's function > > > timer_create. I am an Emacs maintainer, and saw these problems whilst > > > investigating Emacs bug #34235 "27.0.50; lisp profiler does not work". > > > > Emacs's profiler fails in kernel 4.19.13, but works in a version of > > > 4.19.13 with the patch reversed, otherwise unchanged. My current version > > > of glibc is 2.27-r6 (I think the "-r6" comes from Gentoo, my distro). > > > Please upgrade to 4.19.19. The issue should be fixed there with the > > backported variant of > > > 93ad0fc088c5 ("posix-cpu-timers: Unbreak timer rearming") > > > Commit 21c0d1621b8d4b in 4.19.19 > > I've just built and installed Linux 4.19.19, and it does indeed solve > the Emacs profiler bug, #34235. :-) > > I see that the patch has been installed in 4.20.6, 4.19.19, and 4.14.97. > Are there any plans to install it into 4.9.x, the other live long term > support branch? The reason I ask is to make an entry into Emacs's > PROBLEMS file, telling users and distributions which kernel versions to > upgrade to. 4.9 doesn't have the offending commit AFAICT. Thanks, tglx