From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758708Ab0IHMnk (ORCPT ); Wed, 8 Sep 2010 08:43:40 -0400 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 Subject: Re: [RFC 3/4] Disable scheduler tick when we are running SCHED_FIFO tasks From: Peter Zijlstra To: Jan Blunck Cc: Linux-Kernel Mailinglist , linux-rt-users@vger.kernel.org, Sven-Thorsten Dietrich , Michael Galbraith In-Reply-To: <1283948964-6418-4-git-send-email-jblunck@suse.de> References: <1283948964-6418-1-git-send-email-jblunck@suse.de> <1283948964-6418-4-git-send-email-jblunck@suse.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Wed, 08 Sep 2010 14:43:34 +0200 Message-ID: <1283949814.23762.14.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?