Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756889AbXFVMoB (ORCPT ); Fri, 22 Jun 2007 08:44:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753551AbXFVMny (ORCPT ); Fri, 22 Jun 2007 08:43:54 -0400 Received: from ms-smtp-05.nyroc.rr.com ([24.24.2.59]:41611 "EHLO ms-smtp-05.nyroc.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753571AbXFVMnx (ORCPT ); Fri, 22 Jun 2007 08:43:53 -0400 Subject: Re: [PATCH -rt] CONFIG_PARAVIRT and CONFIG_MCOUNT don't play well together From: Steven Rostedt To: Chris Wright Cc: Ingo Molnar , linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org In-Reply-To: <20070622080634.GP3723@sequoia.sous-sol.org> References: <20070622080634.GP3723@sequoia.sous-sol.org> Content-Type: text/plain Date: Fri, 22 Jun 2007 08:43:42 -0400 Message-Id: <1182516222.5493.33.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1173 Lines: 27 On Fri, 2007-06-22 at 01:06 -0700, Chris Wright wrote: > Current -rt is broken when compiling with CONFIG_PARAVIRT and > CONFIG_MCOUNT both enabled. Because CONFIG_MCOUNT disables > CONFIG_REGPARM, the calling convention must once again be explicit > with fastcall. However, this was only half-way addressed in the -rt > patch (adding fastcall back to paravirt_ops function ptr declaration but > not the actual function definitions) so the compiled kernel has caller > putting stuff in registers and callee pulling things from the stack. > Impressive how far into boot it can get despite that ;-) Thanks to > Steven Rostedt for prodding me and starting the initial debugging. Chris, thanks a hell of a lot for looking into this!!! -rt doesn't do much with paravirt, but since both -rt and lguest are two things I love to play with, it was really bothering me that they were not getting along. Much appreciated! -- Steve - 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/