Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751889AbZL2M2k (ORCPT ); Tue, 29 Dec 2009 07:28:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751789AbZL2M2j (ORCPT ); Tue, 29 Dec 2009 07:28:39 -0500 Received: from bombadil.infradead.org ([18.85.46.34]:35684 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751734AbZL2M2j (ORCPT ); Tue, 29 Dec 2009 07:28:39 -0500 Subject: Re: [RFC 0/12][PATCH] SCHED_DEADLINE: core of the scheduling class From: Peter Zijlstra To: Raistlin Cc: linux-kernel , michael trimarchi , Fabio Checconi , Ingo Molnar , Thomas Gleixner , Dhaval Giani , Johan Eker , "p.faure" , Chris Friesen , Steven Rostedt , Henrik Austad , Frederic Weisbecker , Darren Hart , Sven-Thorsten Dietrich , Bjoern Brandenburg , Tommaso Cucinotta , "giuseppe.lipari" , Juri Lelli In-Reply-To: <1255707614.6228.453.camel@Palantir> References: <1255707324.6228.448.camel@Palantir> <1255707614.6228.453.camel@Palantir> Content-Type: text/plain; charset="UTF-8" Date: Tue, 29 Dec 2009 13:27:29 +0100 Message-ID: <1262089649.7135.140.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 496 Lines: 11 On Fri, 2009-10-16 at 17:40 +0200, Raistlin wrote: > + if (unlikely(task_has_deadline_policy(p) || task_has_rt_policy(p))) { small nit, since both task_has_{deadline,rt}_policy() already have unlikely()s in, this extra unlikely is not needed. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/