Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761230AbYHUTdq (ORCPT ); Thu, 21 Aug 2008 15:33:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756159AbYHUTdh (ORCPT ); Thu, 21 Aug 2008 15:33:37 -0400 Received: from ug-out-1314.google.com ([66.249.92.175]:4258 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754052AbYHUTdf (ORCPT ); Thu, 21 Aug 2008 15:33:35 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=f1FcuGXz1Oq3sch0P6ISLg6o0GUghx0UiA8FC70Kw21Vtysa/JMik28/FiopM3SJ5M s6yKutV1Cfs7iW46XTg6SDlzA7BQwvHgeLiXBcMAHWypBRyQJT/jKBv3o4HgDctskzhj 8o7nurkcbJhAM2DUy23aTmQxWA4zedr9e37Ps= Message-ID: <520f0cf10808211233g1da3f06pf422c26accb70bf@mail.gmail.com> Date: Thu, 21 Aug 2008 21:33:33 +0200 From: "John Kacur" To: "Steven Rostedt" Subject: Re: 2.6.26.3-rt2 Cc: LKML , RT , "Ingo Molnar" , "Thomas Gleixner" , "Chirag Jog" In-Reply-To: <1219339082.22710.16.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_60447_28598297.1219347213989" References: <1219339082.22710.16.camel@localhost.localdomain> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 8588 Lines: 174 ------=_Part_60447_28598297.1219347213989 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, Aug 21, 2008 at 7:18 PM, Steven Rostedt wrote: > We are pleased to announce the 2.6.26.3-rt2 tree, which can be > downloaded from the location: > > http://rt.et.redhat.com/download/ > > Information on the RT patch can be found at: > > http://rt.wiki.kernel.org/index.php/Main_Page > > Changes since 2.6.26-rt1 > > - ported to 2.6.26.3 > > - basic compile fixes (Steven Rostedt) > > - basic raw lock conversions (Steven Rostedt) > > - powerpc: irq radix tree updates (Sebastien Dugue) > > - call_rcu_sched (Paul E. McKenney) > > - rcu trace preemption fixes (Paul E. Mckenney) > > - remove lock in pm_qos_requirement (John Kacur) > > - rcu_process_callbacks (Paul E. McKenney) > > - rcu memory barriers update (Paul E. McKenney) > > - shorten posix_cpu_timers thread names (Arnaldo Carvalho de Melo) > > - account IRQ and RT load in SCHED_OTHER (Peter Zijlstra) > > - seq_lock updates/fixes (Gregory Haskins) > > to build a 2.6.26.3-rt2 tree, the following patches should be applied: > > http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.tar.bz2 > http://kernel.org/pub/linux/kernel/v2.6/patch-2.6.26.3.bz2 > http://rt.et.redhat.com/download/patch-2.6.26.3-rt2.bz2 > > > > And like always, my RT version of Matt Mackall's ketchup will get this > for you nicely: > > http://people.redhat.com/srostedt/rt/tools/ketchup-0.9.8-rt3 > > > The broken out patches are also available. > Hi Steve Probably one of the most important patches that was missed is the one from Chirag. I've taken it and updated it against 2.6.26.3-rt2 for you, in case that will speed up -rt3 (see attached). (two hunks were rejected because another applied fix fixed the same thing as part of Chirag's patch. I've compiled and done some limited testing, and among other things it removes this kind of message. BUG: sleeping function called from invalid context hald-runner(12244) at kernel/rtmutex.c:743 in_atomic():1 [00000001], irqs_disabled():0 Pid: 12244, comm: hald-runner Tainted: G W 2.6.26.3-rt2 #1 Call Trace: [] ? mnt_want_write+0x19/0xbc [] __might_sleep+0x12d/0x132 [] __rt_spin_lock+0x34/0x7d [] rt_spin_lock+0xe/0x10 [] mnt_want_write+0x3b/0xbc [] touch_atime+0x1c/0x101 [] __link_path_walk+0x484/0xf24 [] path_walk+0x66/0xc9 [] do_path_lookup+0x209/0x264 [] __path_lookup_intent_open+0x61/0xa4 [] path_lookup_open+0x11/0x13 [] do_filp_open+0xb6/0x8f5 [] ? __rt_spin_lock+0x34/0x7d [] ? get_unused_fd_flags+0x119/0x12a [] do_sys_open+0x56/0xd6 [] ? system_call_after_swapgs+0xc4/0x168 [] sys_open+0x20/0x22 [] system_call_after_swapgs+0xfb/0x168 --------------------------- | preempt count: 00000001 ] | 1-level deep critical section nesting: ---------------------------------------- .. [] .... mnt_want_write+0x19/0xbc .....[] .. ( <= touch_atime+0x1c/0x101) ------=_Part_60447_28598297.1219347213989 Content-Type: text/x-patch; name=fix-bug-messages.patch Content-Transfer-Encoding: base64 X-Attachment-Id: f_fk5rru060 Content-Disposition: attachment; filename=fix-bug-messages.patch RnJvbTogY2hpcmFnQGxpbnV4LnZuZXQuaWJtLmNvbSBDaGlyYWcgSm9nIApUbzogai5tZWxsQHQt b25saW5lLmRlIEo/cmdlbiBNZWxsLCB0Z2x4QGxpbnV0cm9uaXguZGUgVGhvbWFzIEdsZWl4bmVy IApEYXRlOiBXZWQsIDMwIEp1bCAyMDA4IDE5OjE4OjQyICswMjAwIApTdWJqZWN0OiBbUEFUQ0hd IEZpeCBCdWcgbWVzc2FnZXMgCgpUaGlzIHBhdGNoIHNob3VsZCBzb2x2ZSBzb21lIG9mIHRoZSBi dWcgbWVzc2FnZXMuCkl0IGRvZXMgdHdvIHRoaW5nczoKMS4gQ2hhbmdlIHJ0X3J1bnRpbWVfbG9j ayB0byBiZSBhIHJhdyBzcGlubG9jayBhcyB0aGUgY29tbWVudCBhYm92ZSBpdApzYXlzOiBpdCBp cyBuZXN0ZWQgaW5zaWRlIHRoZSBycSBsb2NrLgoKMi4gQ2hhbmdlIG1udF93cml0ZXJzIHRvIGJl IGEgcGVyX2NwdSBsb2NrZWQgdmFyaWFibGUuClRoaXMgZWxpbWluYXRlcyB0aGUgbmVlZCBmb3Ig dGhlIGNvZGVwYXRoIHRvIGRpc2FibGUgcHJlZW1wdGlvbiBhbmQKdGhlbiBwb3RlbnRpYWxseSBz bGVlcCwgbGVhZGluZyB0byB0aGUgQl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3cuICBXaXRob3V0IGl0LAogCSAqIHdlIGNvdWxk IHRoZW9yZXRpY2FsbHkgd3JhcCBfX21udF93cml0ZXJzLgogCSAqLwotCXB1dF9jcHVfdmFyKG1u dF93cml0ZXJzKTsKKwlwdXRfY3B1X3Zhcl9sb2NrZWQobW50X3dyaXRlcnMsIGNwdSk7CiB9CiBF WFBPUlRfU1lNQk9MX0dQTChtbnRfZHJvcF93cml0ZSk7CiAKQEAgLTYxMiw3ICs2MTIsNyBAQCBz dGF0aWMgaW5saW5lIHZvaWQgX19tbnRwdXQoc3RydWN0IHZmc21vCiAJICogY2FuIGNvbWUgaW4u CiAJICovCiAJZm9yX2VhY2hfcG9zc2libGVfY3B1KGNwdSkgewotCQlzdHJ1Y3QgbW50X3dyaXRl ciAqY3B1X3dyaXRlciA9ICZwZXJfY3B1KG1udF93cml0ZXJzLCBjcHUpOworCQlzdHJ1Y3QgbW50 X3dyaXRlciAqY3B1X3dyaXRlciA9ICZwZXJfY3B1X3Zhcl9sb2NrZWQobW50X3dyaXRlcnMsIGNw dSk7CiAJCWlmIChjcHVfd3JpdGVyLT5tbnQgIT0gbW50KQogCQkJY29udGludWU7CiAJCXNwaW5f bG9jaygmY3B1X3dyaXRlci0+bG9jayk7Cg== ------=_Part_60447_28598297.1219347213989-- -- 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/