Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757382AbZBPMpK (ORCPT ); Mon, 16 Feb 2009 07:45:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755488AbZBPMo6 (ORCPT ); Mon, 16 Feb 2009 07:44:58 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:59573 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755025AbZBPMo5 (ORCPT ); Mon, 16 Feb 2009 07:44:57 -0500 Date: Mon, 16 Feb 2009 13:44:52 +0100 From: Ingo Molnar To: =?iso-8859-1?Q?Am=E9rico?= Wang Cc: LKML , Peter Zijlstra Subject: Re: [Patch] sched: use TASK_NICE for task_struct Message-ID: <20090216124452.GB8895@elte.hu> References: <20090216105421.GB23665@hack.private> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090216105421.GB23665@hack.private> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Américo Wang wrote: > #define TASK_NICE(p) PRIO_TO_NICE((p)->static_prio) > > So it's better to use TASK_NICE here. > > Signed-off-by: WANG Cong > Cc: Ingo Molnar Applied to tip:sched/cleanups, thanks! Ingo