Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755555AbYGQDK0 (ORCPT ); Wed, 16 Jul 2008 23:10:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752779AbYGQDKN (ORCPT ); Wed, 16 Jul 2008 23:10:13 -0400 Received: from tomts22.bellnexxia.net ([209.226.175.184]:65521 "EHLO tomts22-srv.bellnexxia.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752654AbYGQDKM (ORCPT ); Wed, 16 Jul 2008 23:10:12 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AugEAKtUfkhMRKxB/2dsb2JhbACBWq5l Date: Wed, 16 Jul 2008 23:10:10 -0400 From: Mathieu Desnoyers To: ltt-dev@lists.casi.polymtl.ca, linux-kernel@vger.kernel.org, Takashi Nishiie Subject: Re: [ltt-dev] LTTng 0.11 Message-ID: <20080717031010.GA24212@Krystal> References: <20080715024754.GA26471@Krystal> <20080717025738.GA23277@Krystal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <20080717025738.GA23277@Krystal> X-Editor: vi X-Info: http://krystal.dyndns.org:8080 X-Operating-System: Linux/2.6.21.3-grsec (i686) X-Uptime: 23:09:37 up 42 days, 7:50, 4 users, load average: 1.08, 0.99, 0.70 User-Agent: Mutt/1.5.16 (2007-06-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2765 Lines: 73 LTTng 0.11 is released, which contains this bugfix. http://ltt.polymtl.ca/lttng/patch-2.6.26-0.11.tar.bz2 Mathieu * Mathieu Desnoyers (compudj@krystal.dyndns.org) wrote: > I rarely emit a single patch for a fix wrt LTTng (I usually just release > a new version), but this one is worth it. It will be in 0.11 pretty > soon, but if you want to apply it to 0.10 meanwhile, it's highly > recommended. > > Caused a kernel OOPS when loading the tracepoint probes once in a while > on a 8-way x86_64. > > > Immedate Values Optimized Jump Fix > > Fix the immediate values optimized jump fallback, which parameters were wrong > following the last changes. It should be a 5 bytes instruction (not 2) with a 4 > bytes operand. > > Signed-off-by: Mathieu Desnoyers > --- > arch/x86/kernel/immediate.c | 2 +- > include/asm-x86/immediate.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > Index: linux-2.6-lttng/arch/x86/kernel/immediate.c > =================================================================== > --- linux-2.6-lttng.orig/arch/x86/kernel/immediate.c 2008-07-16 22:50:35.000000000 -0400 > +++ linux-2.6-lttng/arch/x86/kernel/immediate.c 2008-07-16 22:51:07.000000000 -0400 > @@ -500,7 +500,7 @@ __kprobes int arch_imv_update(struct __i > "Jump target fallback at %lX, nr fail %d\n", > imv->imv, ++nr_fail); > #endif > - imv->size = 1; > + imv->size = 4; /* Fallback on movl */ > } else { > #ifdef DEBUG_IMMEDIATE > static int nr_success; > Index: linux-2.6-lttng/include/asm-x86/immediate.h > =================================================================== > --- linux-2.6-lttng.orig/include/asm-x86/immediate.h 2008-07-16 22:49:19.000000000 -0400 > +++ linux-2.6-lttng/include/asm-x86/immediate.h 2008-07-16 22:51:07.000000000 -0400 > @@ -132,7 +132,7 @@ struct __imv { > BUILD_BUG_ON(sizeof(__typeof__(name##__imv)) > 1); \ > asm (".section __imv,\"aw\",@progbits\n\t" \ > _ASM_PTR "%c1, (3f)-4\n\t" \ > - ".byte 0, 2\n\t" \ > + ".byte 0, 5\n\t" \ > ".previous\n\t" \ > "mov $0,%0\n\t" \ > "3:\n\t" \ > > -- > Mathieu Desnoyers > OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 > > _______________________________________________ > ltt-dev mailing list > ltt-dev@lists.casi.polymtl.ca > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev > -- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 -- 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/