Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp984585ybk; Wed, 20 May 2020 17:47:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLsNJ07wiaXL3svzdIWQyRvwo3a2Yr/Nfm3TUs0LvHDPJ/3J+wZU1AeQw0ZD3BEtLcXxhx X-Received: by 2002:a05:6402:16d6:: with SMTP id r22mr5629319edx.289.1590022050859; Wed, 20 May 2020 17:47:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590022050; cv=none; d=google.com; s=arc-20160816; b=YcVaAxUvIO6vVvPdmgTkGDl6/j8XDzFzVAquM3UGiO0j5/PRFlHcC47r2RWBPmegUo JkE0PmJZ68aejbWT9ivSN9z3zf9haWQOiz1wEoOOanXABMVGztgowoQd0jbvgrbJ1om3 0Xs9NnXONvx6CuyJQ8AlqNnIASXlHtTqe+aNkIhdv5PIVJnfAEfpPX0Cmj6UHyvh3073 OAslB+E5T/3O2xskl9W+TSHlVjP7kwvQK+93+9l9Bk1fQjMrl5JEdDMV7SdMve7LcXZP rVLGXFobvwkWqrQCJd7E2EjLHEPoJWtAzcNNL02TkYrgi8IMqCQtXiPSJCGPqnPYXU2e l+aA== 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=/VcFmpfJbZapkLfiq//XzT6ywYkaOMU2EUXRx0txd0w=; b=xahxTtRo4DdwxcozBzu3W1Iwiq76JOyp9oQsE5jq3dO8WwVGetor6bNrv4MQi5LpmL KaPgsGr4Zx/72GSM8euspnKCdkp6SMpU+PY1iTvLK7sZ02EffflPnZtp4kGkBg1QI1to XkhdBUYSGmCbFsMs9YkoPTQxMXaoLhPE+zCF0zfAjEsxnGh9QDaN6jp8W2Bg8u+sieux rgj29Pz/MZwhSyGAT8iItUXwtqgWmNA4FFpFsgYYzbqsOIUGAvheZnvvQQjVwtICKRmy Fn7k/1olnctfFewlfLPcf0mm26ML7qtC2i4iTopHUwZ1SBCo8//M2uiDus1dXaxgsZ2N gTBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wVBxH+Kl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dr12si3197887ejc.352.2020.05.20.17.47.08; Wed, 20 May 2020 17:47:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wVBxH+Kl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726977AbgEUAor (ORCPT + 99 others); Wed, 20 May 2020 20:44:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:33828 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726754AbgEUAoq (ORCPT ); Wed, 20 May 2020 20:44:46 -0400 Received: from localhost (lfbn-ncy-1-985-231.w90-101.abo.wanadoo.fr [90.101.63.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 217AA2078C; Thu, 21 May 2020 00:44:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590021886; bh=we+EokfcDGrh26uNa5GypQrXE0g2ruaEwe2LL2XZnME=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wVBxH+KlW/UEKbY0gWPUcUc2TTt5uheVwfZbdgWvdFRyUVtnnoywnQcZz/GuY4Bya Y+DKHxpySvXBe/xzhyAVlJXdnUFW6JqlyvpbI9Fy2w8ttdE6BJF8Nc58Xs0MV33STF CVn4DhRUXPSQOlYMTzg02SPYBhL20otgoXUxAuzQ= Date: Thu, 21 May 2020 02:44:44 +0200 From: Frederic Weisbecker To: Juri Lelli Cc: fweisbec@gmail.com, tglx@linutronix.de, mingo@kernel.org, linux-rt-users@vger.kernel.org, peterz@infradead.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] tick/sched: update full_nohz status after SCHED dep is cleared Message-ID: <20200521004443.GB15455@lenoir> References: <20200520140402.358880-1-juri.lelli@redhat.com> <20200520162400.GA8800@lenoir> <20200520164925.GM10078@localhost.localdomain> <20200520170215.GB8800@lenoir> <20200520184710.GO10078@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200520184710.GO10078@localhost.localdomain> 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 On Wed, May 20, 2020 at 08:47:10PM +0200, Juri Lelli wrote: > On 20/05/20 19:02, Frederic Weisbecker wrote: > > On Wed, May 20, 2020 at 06:49:25PM +0200, Juri Lelli wrote: > > > On 20/05/20 18:24, Frederic Weisbecker wrote: > > > > > > Hummm, so I enabled 'timer:*', anything else you think I should be > > > looking at? > > > > Are you sure you also enabled timer_expire_entry? > > Because: > > I run with > > trace-cmd record -e sched_switch -e sched_wakeup -e sched_migrate_task \ > -e 'timer:*' -e 'irq_vectors:*' -e 'irq:softirq*' \ > -e 'irq:irq_handler*' taskset --cpu-list 4-35 ./sysjitter/sysjitter \ > --runtime 10 200 > > And > > $ grep ' timer_expire_entry:' trace.txt | wc -l > 1173 > > seems to confirm that the event was indeed enabled, e.g. > > ksoftirqd/11-100 [011] 159.270023: timer_expire_entry: timer=0xffff9807df8a5a60 function=delayed_work_timer_fn now=4294826418 baseclk=4294825984 That's interesting! I'll see if I can reproduce that with threaded irqs. If not we'll have to investigate on your machine. We really don't want to trigger timer softirqs when it's not necessary.