Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1711255imu; Thu, 17 Jan 2019 01:54:55 -0800 (PST) X-Google-Smtp-Source: ALg8bN5YUX/WtNNJzZSI5JsDGIT2lELj2v6VsBTa5dfitBudPtpNzd+rYJBuKfo8Hbvv39D+HHur X-Received: by 2002:a65:6215:: with SMTP id d21mr12853605pgv.289.1547718895021; Thu, 17 Jan 2019 01:54:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547718894; cv=none; d=google.com; s=arc-20160816; b=kTLBremEqMDWXEK6sq6H6JplrMrS0WwOhDJATY3sqTRwLBf134VwT0euJN8iCefmrA UIOP08xsMcG+tTa093vkQK0nv51w11kXG+CEdOJl1xaZW9r/JDokXAoIdEI9wKo2/h5X 5mTa4zFKHOXQuD1dVD2FKW1ZVlRBlhJqTbdcU+uZkIeDRI4U7bBASrUIkqCuLb3a3V/G lF+1SABzVySgLDIN5Mx1YGvbEP3Ql2Mf2NRUaPvj4m8WHj/B1b1mzrBI0+u8JX+0ETwM NP7x/OVuymyOKT3M20RRfkWkE/swz7XpFhZrFgRhobr0m9PRVD1GEeYIYzb2rEvb6gu0 z9Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Bg/7mvzWWV2nFDCF6wF7j+tIcsg/UbEH7R9M+HW5IVk=; b=YtRV91RwnrhaU0oH9SP6DtKj1Z+HVcAno0oJmFiUgTBx2sQYZcks24ByYBS7PqIUrS r4sy1NzsM/433+PxPMEx7kGrNVnDbkIXpPibGB4lahiLW01KADFo2GrdWGzIFtzm6BNH M6qYccdvp7Ax5FRWc+iKAUUAmiCmYURQiyhDQJaUYMNz0LN9Pcd1Oi8lP0mzn0II4Yz6 XLw/Dk6LeZKUNmGXGzmJtkDDd9CimsN8DGO8XDVEioAHNuwSuKMzI57J1atkpPxhdhsB Gt6MXOw5kX4RnxcZ/4jJkVU56Jl4fzRx+HNvgRFgAJ9pla2TbXl8FeO9n89ZmkVe6gcL GLAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=LlMaT8UB; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y11si1209555pgj.442.2019.01.17.01.54.39; Thu, 17 Jan 2019 01:54: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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=LlMaT8UB; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727075AbfAQJvI (ORCPT + 99 others); Thu, 17 Jan 2019 04:51:08 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:36270 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725884AbfAQJvH (ORCPT ); Thu, 17 Jan 2019 04:51:07 -0500 Received: by mail-wm1-f68.google.com with SMTP id p6so347485wmc.1 for ; Thu, 17 Jan 2019 01:51:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Bg/7mvzWWV2nFDCF6wF7j+tIcsg/UbEH7R9M+HW5IVk=; b=LlMaT8UBLM4rbICbVrGENmH4S8z7DsTGizef2aXIKIoBugbMVrc8qwCZNAutuXXrFn eNSn6myBLzUkN5uZZlgipHBMqhC01SiE8CkIGxnipySElph2FFriHZK7BNLJjZ2l9sbl uydotTRWa82nScBG/vCdESPwR3VLbMZC+Eg1gRZEV9/Gynq+GeZH5SmSn/VHpD0KFnyG /vgo1kNo40A/B4XJ1K1N9RbvO1M8cpWnJ0FkGJ2vS+x3v+EuvUS7viJiN++a7eA46Eje HmTYExcLIrxHrMjNyaAVD7xmR7SHAlwBgv0t3btPGOB/o/xoZjNWXxuVX1uXMMqtLJbC /tkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=Bg/7mvzWWV2nFDCF6wF7j+tIcsg/UbEH7R9M+HW5IVk=; b=M2oo4TEk4h1oqx+MFvkRSMJtj0pcYJA3iyZnBMzzw7X3MRl8NrtonaZNAeEjbZvIww +hQWeWIRbcvVyL/IvxSDaf6DAadN3dMPVNi0WAL9LpFnQB5hRkfY1+ZFqrqjaLurYyM0 RkxZXvyMoCxQC/RbnpjjNQEH8D5v5+ZX0SMuSlzwopYLy6Y3H903+TQdpllGIsNY3Sfx IGzELRFN8ZrQEgRGz/tqcdJaFYkHrpe41DhioV+x0BsSUv5PTa322IIOfMyvKC3PCker LwxvAMsDIYaZPhGQ+hD+7033pwqkwdFozS1Ar6Tk94H4x6V2eWfAukrlywC4Mq932OZy JLjA== X-Gm-Message-State: AJcUukdoU7cs9B/PKQl/L5qKxk5g2UHTFIiQgOE+bNPiGD5yfYOWZzXh kC89biffqiwFvix8huG2BCc= X-Received: by 2002:a1c:99ce:: with SMTP id b197mr11306573wme.75.1547718665633; Thu, 17 Jan 2019 01:51:05 -0800 (PST) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id 125sm66491636wmm.26.2019.01.17.01.51.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Jan 2019 01:51:04 -0800 (PST) Date: Thu, 17 Jan 2019 10:51:02 +0100 From: Ingo Molnar To: Heiko Carstens Cc: Linus Torvalds , linux-kernel@vger.kernel.org, Thomas Gleixner , Peter Zijlstra , Andrew Morton Subject: Re: [GIT PULL] timer fix Message-ID: <20190117095102.GA88466@gmail.com> References: <20181221123453.GA102366@gmail.com> <20181223192926.GA3728@osiris> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181223192926.GA3728@osiris> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Heiko Carstens wrote: > > - if (timr->it_requeue_pending == info->si_sys_private) { > > + if (timr->it_interval && timr->it_requeue_pending == info->si_sys_private) { > > timr->kclock->timer_rearm(timr); > > FWIW, with this patch the vanilla glibc 2.28 self tests > rt/tst-cputimer1, rt/tst-cputimer2, and rt/tst-cputimer3 > start to fail on s390: > > rt/tst-cputimer1.out: > clock_gettime returned timespec = { 0, 117181 } > clock_getres returned timespec = { 0, 1 } > Timed out: killed the child process > rt/tst-cputimer1.test-result: > FAIL: rt/tst-cputimer1 > original exit status 1 > > rt/tst-cputimer2.out: > clock_gettime returned timespec = { 0, 9686 } > clock_getres returned timespec = { 0, 1 } > Timed out: killed the child process > rt/tst-cputimer2.test-result: > FAIL: rt/tst-cputimer2 > original exit status 1 > > rt/tst-cputimer3.out: > clock_gettime returned timespec = { 0, 0 } > clock_getres returned timespec = { 0, 1 } > Timed out: killed the child process > rt/tst-cputimer3.test-result: > FAIL: rt/tst-cputimer3 > original exit status 1 > > I haven't looked any further into this, just reporting.. otherwise the > test systems seem to be healthy. Could you please check whether the top commit in tip:timers/urgent fixes it: 93ad0fc088c5: posix-cpu-timers: Unbreak timer rearming ? It's in tip:master as well and should show up in linux-next tomorrow. Thanks, Ingo