* [Bug runtime/13868] New: Use UTRACE_ATTACH_ATOMIC when calling utrace create under lock. @ 2012-03-19 19:28 mjw at redhat dot com 2012-03-19 19:30 ` [Bug runtime/13868] " fche at redhat dot com 2012-03-19 19:44 ` fche at redhat dot com 0 siblings, 2 replies; 3+ messages in thread From: mjw at redhat dot com @ 2012-03-19 19:28 UTC (permalink / raw) To: systemtap http://sourceware.org/bugzilla/show_bug.cgi?id=13868 Bug #: 13868 Summary: Use UTRACE_ATTACH_ATOMIC when calling utrace create under lock. Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: runtime AssignedTo: systemtap@sourceware.org ReportedBy: mjw@redhat.com Classification: Unclassified commit e46635d5571a655868c2fd57e186fb6edbe77d78 Author: Mark Wielaard <mjw@redhat.com> Date: Tue Jan 31 23:06:30 2012 +0100 Use UTRACE_ATTACH_ATOMIC when calling utrace create under lock. UTRACE_ATTACH_ATOMIC is very new, but we need it when calling utrace create while holding a lock or in interrupt context. If it doesn't exist we do as before (define it as zero). See http://sourceware.org/ml/systemtap/2011-q4/msg00340.html -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug runtime/13868] Use UTRACE_ATTACH_ATOMIC when calling utrace create under lock. 2012-03-19 19:28 [Bug runtime/13868] New: Use UTRACE_ATTACH_ATOMIC when calling utrace create under lock mjw at redhat dot com @ 2012-03-19 19:30 ` fche at redhat dot com 2012-03-19 19:44 ` fche at redhat dot com 1 sibling, 0 replies; 3+ messages in thread From: fche at redhat dot com @ 2012-03-19 19:30 UTC (permalink / raw) To: systemtap http://sourceware.org/bugzilla/show_bug.cgi?id=13868 Frank Ch. Eigler <fche at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fche at redhat dot com --- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> 2012-03-19 19:29:21 UTC --- See required utrace patch at https://www.redhat.com/archives/utrace-devel/2012-January/msg00001.html -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug runtime/13868] Use UTRACE_ATTACH_ATOMIC when calling utrace create under lock. 2012-03-19 19:28 [Bug runtime/13868] New: Use UTRACE_ATTACH_ATOMIC when calling utrace create under lock mjw at redhat dot com 2012-03-19 19:30 ` [Bug runtime/13868] " fche at redhat dot com @ 2012-03-19 19:44 ` fche at redhat dot com 1 sibling, 0 replies; 3+ messages in thread From: fche at redhat dot com @ 2012-03-19 19:44 UTC (permalink / raw) To: systemtap http://sourceware.org/bugzilla/show_bug.cgi?id=13868 Frank Ch. Eigler <fche at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Frank Ch. Eigler <fche at redhat dot com> 2012-03-19 19:41:48 UTC --- Sample kernel BUG backtrace that is fixed by this work: <3>[ 5423.930203] BUG: sleeping function called from invalid context at xxx/intel/linux/mm/slub.c:847 <3>[ 5423.948137] in_atomic(): 0, irqs_disabled(): 0, pid: 3196, name: stapio <4>[ 5423.956007] 1 lock held by stapio/3196: <4>[ 5423.959994] #0: (rcu_read_lock){.+.+.+}, at: [<f1600603>] rcu_read_lock+0x0/0x26 [utracetestgdwv2] <4>[ 5423.969609] Pid: 3196, comm: stapio Tainted: G WC 3.0.8-dirty #1 <4>[ 5423.976924] Call Trace: <4>[ 5423.979413] [<c10795e2>] ? utrace_attach_task+0x140/0x369 <4>[ 5423.984939] [<c102aad7>] __might_sleep+0xee/0xf5 <4>[ 5423.989736] [<c10d17f6>] kmem_cache_alloc+0x37/0x132 <4>[ 5423.994824] [<c10795e2>] utrace_attach_task+0x140/0x369 <4>[ 5424.000240] [<f1600603>] ? next_thread+0x2b/0x2b [utracetestgdwv2] <4>[ 5424.006553] [<f1603007>] T.1331+0x41/0x15b [utracetestgdwv2] <4>[ 5424.012425] [<f1603b65>] _stp_ctl_write_cmd+0x56a/0xac4 [utracetestgdwv2] <4>[ 5424.019349] [<c11f9f1a>] ? security_file_permission+0x22/0x26 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-03-19 19:44 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-03-19 19:28 [Bug runtime/13868] New: Use UTRACE_ATTACH_ATOMIC when calling utrace create under lock mjw at redhat dot com 2012-03-19 19:30 ` [Bug runtime/13868] " fche at redhat dot com 2012-03-19 19:44 ` fche at redhat dot com
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).