From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: [RFC 3/4] Disable scheduler tick when we are running SCHED_FIFO tasks Date: Wed, 08 Sep 2010 14:43:34 +0200 Message-ID: <1283949814.23762.14.camel@laptop> References: <1283948964-6418-1-git-send-email-jblunck@suse.de> <1283948964-6418-4-git-send-email-jblunck@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Cc: Linux-Kernel Mailinglist , linux-rt-users@vger.kernel.org, Sven-Thorsten Dietrich , Michael Galbraith To: Jan Blunck Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:52562 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756324Ab0IHMnj convert rfc822-to-8bit (ORCPT ); Wed, 8 Sep 2010 08:43:39 -0400 In-Reply-To: <1283948964-6418-4-git-send-email-jblunck@suse.de> Sender: linux-rt-users-owner@vger.kernel.org List-ID: On Wed, 2010-09-08 at 14:29 +0200, Jan Blunck wrote: > This patch is disabling the scheduler tick to go off when there is a task > with SCHED_FIFO policy running. Since these tasks are not timesliced anyway > we only care about timers, softirqs and such stuff just like when we disable > the tick during idle periods. Why only FIFO and not also nr_running == 1?