From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753040AbYLSVhI (ORCPT ); Fri, 19 Dec 2008 16:37:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751810AbYLSVg4 (ORCPT ); Fri, 19 Dec 2008 16:36:56 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:42253 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751771AbYLSVgz (ORCPT ); Fri, 19 Dec 2008 16:36:55 -0500 Date: Fri, 19 Dec 2008 22:36:41 +0100 From: Ingo Molnar To: =?iso-8859-1?Q?Fr=E9d=E9ric?= Weisbecker Cc: Thomas Gleixner , LKML , Steven Rostedt , Peter Zijlstra , Clark Williams , Gregory Haskins , Linux-rt Subject: Re: [patch 1/7] ftrace: fix task state printout Message-ID: <20081219213641.GB2351@elte.hu> References: <20081219155504.735865178@linutronix.de> <20081219155555.919550408@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 * Frédéric Weisbecker wrote: > Hi Thomas, > > 2008/12/19 Thomas Gleixner : > > Impact: tracer task state decoding is wrong, size check is buggy > > > > The tracing code has interesting varieties of printing out task state. > > Unfortunalely only one of the instances is correct as it copies the > > code from sched.c:sched_show_task(). The others are plain wrong as > > they treatthe bitfield as an integer offset into the character > > array. Also the size check of the character array is wrong as it > > includes the trailing \0. > > > > Use a common state decoder inline which does the Right Thing. > > > > Signed-off-by: Thomas Gleixner > > You've already sent it out. It has been applied on -tip :-) That's why the subject line of the series says "2.6.24.7-rt24 bugfixes" i guess :-) Ingo