Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752325Ab0BWLx3 (ORCPT ); Tue, 23 Feb 2010 06:53:29 -0500 Received: from mail-pw0-f46.google.com ([209.85.160.46]:55961 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752164Ab0BWLx1 convert rfc822-to-8bit (ORCPT ); Tue, 23 Feb 2010 06:53:27 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=jVoDxKPii5Ma2YUMSi2lBm1r4myNIK0TyqvbPu7qWNJO1JZSS8CFC7PybNmPL0hJUS vxQJlgNNO2awZlkWGUnPcEWrBDKHjn1SmrV74bZ0c8uRvN+9/RI3M9nJGdMPaF8hxsjg y3Et5wL/KcfKVmuP4xiUFg8Rs0CXuHCKcphLM= MIME-Version: 1.0 In-Reply-To: References: <1266337450.24271.140.camel@gandalf.stny.rr.com> <20100216164744.GA25115@Krystal> <20100216170540.GA28039@Krystal> <20100217230854.GA25636@Krystal> Date: Tue, 23 Feb 2010 16:59:03 +0530 Message-ID: Subject: Re: [ltt-dev] LTTng 0.193 fixes RT kernel support From: naresh kamboju To: Mathieu Desnoyers Cc: Thomas Gleixner , Ingo Molnar , ltt-dev@lists.casi.polymtl.ca, linux-kernel@vger.kernel.org, Steven Rostedt , linux-rt-users@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3010 Lines: 84 On Mon, Feb 22, 2010 at 9:07 PM, naresh kamboju wrote: > On Thu, Feb 18, 2010 at 4:38 AM, Mathieu Desnoyers > wrote: >> * naresh kamboju (naresh.kernel@gmail.com) wrote: >>> Hi, >>> >>> On Tue, Feb 16, 2010 at 10:35 PM, Mathieu Desnoyers wrote: >> [...] >>> > Oh, right. Thanks for the explanation. I'll look into moving LTTng to a >>> > saner del_timer_sync() scheme to delete the timers. >>> >>> Could you give more info regarding, what kind of changes we can work on. >>> let me also work around on it. >>> >> >> I just released LTTng 0.193 for kernel 2.6.32.4 which includes patches >> fixing these odd per-cpu timer teardowns. > > I have downloaded LTTng 0.193 patches and viewed i can see below patches > > 1. lttng-transport-lockless-add-timer-on-works-with-del-timer-sync.patch > 2. omap-trace-clock-use-del-timer-sync.patch > 3. x86-trace-clock-use-mod-timer.patch > 4. trace-clock-32-to-64-use-del-timer-sync.patch FYI. I have ported LTTng 0.193 these four patches and able to resolve the issues on Uni-processor (UP) on ARM arch Thank you. A different bug is reported on SMP. BUG: using smp_processor_id() in preemptible [00000000] code: lttctl/754 caller is put_synthetic_tsc+0x7c/0xf8 Backtrace: [] (dump_backtrace+0x0/0x10c) from [] (dump_stack+0x18/0x1c) r7:c04c4994 r6:c008e24c r5:00000003 r4:ce0b6000 [] (dump_stack+0x0/0x1c) from [] (debug_smp_processor_id+0xc0/0xec) [] (debug_smp_processor_id+0x0/0xec) from [] (put_synthetic_tsc+0x7c/0xf8) r6:c04f82cc r5:c0023600 r4:00000003 [] (put_synthetic_tsc+0x0/0xf8) from [] (put_trace_clock+0x68/0x7c) r8:bece6eb9 r7:0000000b r6:ce0b7d2a r5:cc037600 r4:00000000 [] (put_trace_clock+0x0/0x7c) from [] (ltt_trace_destroy+0x40/0x94) [] (ltt_trace_destroy+0x0/0x94) from [] (destroy_trace_write+0xbc/0x140) r5:00000000 r4:0000000b [] (destroy_trace_write+0x0/0x140) from [] (vfs_write+0xb4/0x144) r7:0000000b r6:ce0b7f70 r5:bece6eb9 r4:ceae7860 [] (vfs_write+0x0/0x144) from [] (sys_write+0x48/0xf4) r7:0000000b r6:ceae7860 r5:00000000 r4:00000000 [] (sys_write+0x0/0xf4) from [] (__sys_trace_return+0x0/0x24) patch trace-clock-32-to-64-use-del-timer-sync.patch is causing above problem on SMP. with out this patch on SMP reported the previous bug as BUG: sleeping function called from invalid context at kernel/rtmutex.c:685 However, i'll investigate. Best regards, Naresh Kamboju >> Thanks, >> >> Mathieu >> >> -- >> 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/