]> sourceware.org Git - systemtap.git/commitdiff
stapdyn: nullify the pagefault machinations for derefs
authorJosh Stone <jistone@redhat.com>
Wed, 3 Oct 2012 19:59:15 +0000 (12:59 -0700)
committerJosh Stone <jistone@redhat.com>
Wed, 3 Oct 2012 20:06:31 +0000 (13:06 -0700)
We don't need to care about pagefault safety in userspace, but the
definitions making those into preempt_disable led to recursing on
stapdyn_big_dumb_lock (going away in PR14571).  We can just #define
the pagefault_enable/disable away for the dyninst runtime.

runtime/dyninst/runtime_defines.h

index 7087819f3ca48c181aef805740bbe21237a9b8a7..2ac5c19be16d9caba47bbec9e292c451155d4f95 100644 (file)
@@ -1 +1,6 @@
 #define STP_NO_OVERLOAD 1
+
+/* We don't need to worry about pagefaults in loc2c-runtime.h */
+#define STAPCONF_PAGEFAULT_DISABLE  1
+#define pagefault_disable()
+#define pagefault_enable()
This page took 0.02544 seconds and 5 git commands to generate.