Received: by 10.223.185.116 with SMTP id b49csp8830819wrg; Fri, 2 Mar 2018 08:40:06 -0800 (PST) X-Google-Smtp-Source: AG47ELsAsW/8aA1JwD/5PsP93ac/6vCZLXCcVB8PudX1BpUKUMUMnI9Q5uK2s6SKl7B5dFbVTWMS X-Received: by 10.99.55.70 with SMTP id g6mr5000026pgn.284.1520008806179; Fri, 02 Mar 2018 08:40:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520008806; cv=none; d=google.com; s=arc-20160816; b=bam4K/IR8UJ7r2MOnm9wt4GIxhyklw0Zfdd+ANRkBjNxbNSRCBPGJnVS0mYNO61FVz rGQoWczpjVZyZPOHGJWQzxP3s5VoplIr5tE2ieyFn1/XssBfwwikrCHG5HzTNvGWZR/l 1atSkciu0wlgFNnwUOLouoVMr9rvQmF/wiSS/qwirn4FIh1Z9St39uGMovHys1UMTlLQ dxWT+KRfH28zKDVUle8ebfAY1xyh+WI+dhROkHOfc1+dwhjkEHKqPfkMysWV+lqvZE2J Gla4v//YDXv5KAtaMa0ed/8U8V9c/p3pbCdXXW/ZsWGK3qDqoKyRBsRq6hAC6wIL5hbh HIMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:arc-authentication-results; bh=89WAQO4l2lDW38om4addpWxFS9fjc4+8V+q6kyhxB0c=; b=FOVjoFxVEHE0XC6XyDpxVekZ5PV1a6a+ofULFwryXRUbux9pXk1nM0PpeSW/TM5e7Q UIbcVbUU9ez14ZWKizR7o236XNzpCMUa99JYyBac9ecQZdJ4cmgJ1bNqwOkKk75ZOsT1 ED9YPpAHuH75tfT/Xyp9MVE4s2MsJgzTvz0Mr7jGdrrNfOV+rJo2EZXDLCcbxUyeLsqQ /Qvxso34EmEXnw3mShVOgB06tpf5X84VIHt1wdLUa9jhviFnzFHv2IqGb2yyDmBI2dgA XSW51QAgMDB/q7SRAiO00y6wyrzqFEYOq6j+oZekJbtYbYQBURYY1ccGRsae8zQpY2/R Nkpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nio365.onmicrosoft.com header.s=selector1-ni-com header.b=Z2yED2AK; 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 c17-v6si4974807plo.118.2018.03.02.08.39.51; Fri, 02 Mar 2018 08:40:06 -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=pass header.i=@nio365.onmicrosoft.com header.s=selector1-ni-com header.b=Z2yED2AK; 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 S936513AbeCBQaN (ORCPT + 99 others); Fri, 2 Mar 2018 11:30:13 -0500 Received: from mx0a-00010702.pphosted.com ([148.163.156.75]:43608 "EHLO mx0b-00010702.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932746AbeCBQaK (ORCPT ); Fri, 2 Mar 2018 11:30:10 -0500 Received: from pps.filterd (m0098780.ppops.net [127.0.0.1]) by mx0a-00010702.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w22GSNOc025020; Fri, 2 Mar 2018 10:30:04 -0600 Received: from nam02-bl2-obe.outbound.protection.outlook.com (mail-bl2nam02lp0087.outbound.protection.outlook.com [207.46.163.87]) by mx0a-00010702.pphosted.com with ESMTP id 2gdqj08q67-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 02 Mar 2018 10:30:04 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nio365.onmicrosoft.com; s=selector1-ni-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=89WAQO4l2lDW38om4addpWxFS9fjc4+8V+q6kyhxB0c=; b=Z2yED2AKbdurq3R2Z/j4IvipIQaJ1+zOsfKRsVYQjjfW3EG/bWF31Fx8UK/MaZqYgvhsGW2msZiWVAV8DRNiZa49lCM7Bi8kRvXT2eUhg8qRAd2QcYDu03FWVmPygA6e8ZYKxvYEKupG1rhY9yGPGDCmBDybGSxKk4lC22pFFks= Received: from harisdt.amer.corp.natinst.com (130.164.62.119) by SN4PR0401MB3631.namprd04.prod.outlook.com (2603:10b6:803:47::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Fri, 2 Mar 2018 16:30:00 +0000 Subject: Re: [PATCH v3 2/2] timers: Don't search for expired timers while TIMER_SOFTIRQ is scheduled To: Sebastian Andrzej Siewior Cc: linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, julia.cartwright@ni.com, gratian.crisan@ni.com, anna-maria@linutronix.de References: <20170803210657.19179-1-haris.okanovic@ni.com> <20170803210657.19179-2-haris.okanovic@ni.com> <28f05e39-6bc6-99c5-e1bc-91be3e79ea78@ni.com> <13c06708-f7ad-4f46-1c0b-f12d1ca16beb@ni.com> <20180301164755.pipco45y5nlvmdsy@linutronix.de> <7079102c-f53b-e8ab-c54d-1c40ff21d921@ni.com> <20180302145232.anp4hz25uwqygopa@linutronix.de> From: Haris Okanovic Message-ID: <98f4236e-9863-2af7-1170-51cd118f65bd@ni.com> Date: Fri, 2 Mar 2018 10:29:56 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180302145232.anp4hz25uwqygopa@linutronix.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [130.164.62.119] X-ClientProxiedBy: MWHPR21CA0051.namprd21.prod.outlook.com (2603:10b6:300:db::13) To SN4PR0401MB3631.namprd04.prod.outlook.com (2603:10b6:803:47::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8a554683-3937-4915-b619-08d5805ad8e0 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020);SRVR:SN4PR0401MB3631; X-Microsoft-Exchange-Diagnostics: 1;SN4PR0401MB3631;3:TnX8F6ewYHGn8E6mkqYcjrbfbrgYSCj5XfJyO0a3LD/0ULlwp566ZaKwyCwkRllB2OHR3BJHcnwPLnfo050KazJ8b41nlvIb0Qf6I5Ym6XoMaweeLBD32qhGMRM45MSx4tNlH6tbThwNfDVMI5eAiYwV9ywiHdTKbZpYHjDrr/haXo3oIpHdTdb0tin5qHrRYD3lx35hS4/U6bZoCQksOcWYOE/gZ9m6b9XO1FutsOw+n4blLTwp8ru5BUQlCztV;25:iVQ2QihCdBIGMo3UhSX2pZ+JoCLZkcCYu5orFEv7sa1n2HU00fBljKjJ8CTw/qnyvSRg/x/oHOPO5ogh9xZb3MK10qs2l3vvkXho6wmtTra3whoDpaPkeI0yOJk/O0o5oB0KtP2G0/ZUm6etnTeXeq5dgRS+BLtRLMQMsr15MkfvAgYC/Yz5Jq0cZpK8nxWqXhxSOXosDCt9xrZ4K1jL5v+bj7WYg5EJixXDmZGm0a/Ndc4PydKFRso6VIIYwlWNOT4CYyIXdxVofAihwbN6ZLAXZRdYUlRBZ4p2U+OQGvFxR4YP3hdfiZ+iaqWgIKWrGO05QWyu3YvxWZ/qHPlG0A==;31:EVeojBib/1ucFmWG91ffjrbKYFynhd5jUrv/YpAqjPPE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0RgAwZrT3Y9idaJh7ChwIbHrEj0ZvmGPcOnjDsHMXB96KMmXC/Yua8/QAIFVH7YozciIffcvnD3RVJ+k2Bg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040501)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231220)(944501241)(93006095)(93001095)(6041288)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(6072148)(201708071742011);SRVR:SN4PR0401MB3631;BCL:0;PCL:0;RULEID:;SRVR:SN4PR0401MB3631; X-Forefront-PRVS: 05991796DF X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(396003)(39380400002)(39860400002)(366004)(346002)(376002)(189003)(199004)(377424004)(58126008)(229853002)(52116002)(65826007)(230700001)(52146003)(23676004)(2486003)(76176011)(93886005)(97736004)(316002)(64126003)(86362001)(7736002)(31696002)(67846002)(68736007)(478600001)(106356001)(6666003)(25786009)(31686004)(6486002)(36756003)(2906002)(6916009)(2950100002)(53936002)(4326008)(81156014)(81166006)(8676002)(6512007)(8936002)(26005)(59450400001)(386003)(53546011)(6506007)(5660300001)(6116002)(6246003)(47776003)(3846002)(186003)(16526019)(65956001)(105586002)(305945005)(50466002)(65806001)(66066001);DIR:OUT;SFP:1102;SCL:1;SRVR:SN4PR0401MB3631;H:harisdt.amer.corp.natinst.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; Received-SPF: None (protection.outlook.com: ni.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtTTjRQUjA0MDFNQjM2MzE7MjM6dUhJWHZuRlJ4bnMwbGZmZVV1U0xjVG9a?= =?utf-8?B?clhOeHY5ZEhjWHIzQlVOZEE3cjRpc1JUN0FLeTZmS3NtQXRpSzBOTjlLa2FG?= =?utf-8?B?R3k5cWVHRytES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diagnostics: 1;SN4PR0401MB3631;6:siLGuV5b0uys0m2+6/3F/AnBdAgydX7LBsATDEHx/iFV0/R7kMm/Qfb8DvQ6MFeOn144MXiukiF0pW/xnfToSPNESPw+D81l03gCrpuxcnwDcz2YbbYBwoSc2kWANX7H27+4Bq7TSnr5daNnFLtxFOb4omwHZwwBUmTfIGQNsYhqB4voi3GZpVFGOBITD/hv4/m2/khI/SsyOgE2apzZPyu2IZIEWHhUdIzX5lWuDqU7BezwhR7spXdiGbf6kWZv4A3fgbMFXm0ppjNhFJIeSTOUM+8bL+kjoGe3b6litW8lO9LUwhB/QH/bLhVlCyDHl7xplvNTKuvUm8NFEPCildbhqbA57hNhXx1MgRA1yK0=;5:r3PtIcpj8Oiza5WuQ03qDgHYMnyx7tpEYUc7Uwnq3oHkrScpdpQKUKFHwibBsPl41iFbQTLMVo31Q/b3ECwC5T7xyohy63tV7IQsCsNXvg2Nan6NZhIYSZjrEXFcUVGplWtlWEKiwE6vBA66cdSYjhiui4K4WhHJ/ESRlK4PG+M=;24:Yy7QpLbnf4N96j5ORzR7crIZv6bolSvPtq/Z0RmUb4K6YWUNHqNHyoxn3LrZ/izTbIaVXRiPKk7/W9eUP0e3rFHcZ+WmS9QX0ZbztBTNZRE=;7:TBnrkmyuSrzVrzLK7cdXxRLbgh2SN4hhAxw6acitrQv9emxmzW96RxtDtLm9fD+qyQOGFKQIeWQqiYWPJczm/f48P0aALYmIf52JZbZ7ABOVp5KgBmWPgJbzURDSpFl5R4LX7UdfZl+e3M7WKOZLKcodqsBazTzIz4VtAXAgbTipmQ1FRkk5i8668XSHq02aVaxMF0VQWsP8BFHoFyq3f5WbZVyd8Ux/ktFi2IAkS/f/yxoMzGMj4hCUzjaPzQp8 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: ni.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2018 16:30:00.7279 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8a554683-3937-4915-b619-08d5805ad8e0 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 87ba1f9a-44cd-43a6-b008-6fdb45a5204e X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN4PR0401MB3631 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-02_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=inbound_policy_notspam policy=inbound_policy score=30 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=30 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1803020193 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Could please point me to the code/patches or something? I rebase onto v4.14.20-rt17, running some sanity test before reposting to ml (cyclictest & Anna's timertest). Will post V4 sometime today (US Central Time) if everything goes well. Are you also asking for a 4.9 version? I'm fine leaving it out of 4.9. -- Haris On 03/02/2018 08:52 AM, Sebastian Andrzej Siewior wrote: > On 2018-03-01 12:37:49 [-0600], Haris Okanovic wrote: >> It was added back into 4.9 at some point after v4.9.30-rt20. I see an older >> version in v4.9.68-rt60, for example, hence my original email. It was >> dropped sometime thereafter, presumably because it no longer cleanly >> applies. I don't see it in v4.14.20-rt17, for example. > > It was removed in v4.9.34-rt24 via 95d4a348841d ("Revert "timers: Don't > wake ktimersoftd on every tick""). I don't see any leftovers or an older > version. > Looking at the queue I see two patches from you and that is: > timers: Don't wake ktimersoftd on every tick > tpm_tis: fix stall after iowrite*()s > > and the former is reverted. This was v4.9.84-rt62 that I've been looking > at. Could please point me to the code/patches or something? > >>> Is there a newer patch pending on your side? >> >> Not yet. The latest version on patchwork is OK, just needs to be rebased >> post-4.9. I'll post a new version when I get a chance to build and retest >> it. > okay. > > Sebastian >