[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 02/02: patches/disable-duplicate-lookup-optimization.patch: Disab
From: |
Samuel Thibault |
Subject: |
[hurd] 02/02: patches/disable-duplicate-lookup-optimization.patch: Disable again. |
Date: |
Tue, 23 Feb 2016 21:58:02 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch master
in repository hurd.
commit b7ef7380fd9878048331de6331afff273ec8ff42
Author: Samuel Thibault <address@hidden>
Date: Tue Feb 23 21:54:47 2016 +0000
patches/disable-duplicate-lookup-optimization.patch: Disable again.
---
debian/changelog | 1 +
.../disable-duplicate-lookup-optimization.patch | 42 ++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 44 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 3fe2e68..e5cd261 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ hurd (1:0.7.git20160214-3) UNRELEASED; urgency=medium
to fix mtab crash, but also d-i ISO mount hang.
* hurd-udeb.install.in: Install udeb's exec.static to /boot for d-i.
* patches/crash-logging.patch: New patch to dump information on process
crash.
+ * patches/disable-duplicate-lookup-optimization.patch: Disable again.
-- Samuel Thibault <address@hidden> Mon, 22 Feb 2016 19:14:25 +0000
diff --git a/debian/patches/disable-duplicate-lookup-optimization.patch
b/debian/patches/disable-duplicate-lookup-optimization.patch
new file mode 100644
index 0000000..d5123b0
--- /dev/null
+++ b/debian/patches/disable-duplicate-lookup-optimization.patch
@@ -0,0 +1,42 @@
+ada's stack_check1.exe hangs when this optimization is enabled.
+
+diff --git a/libports/manage-multithread.c b/libports/manage-multithread.c
+index 60743d9..9bb4c00 100644
+--- a/libports/manage-multithread.c
++++ b/libports/manage-multithread.c
+@@ -173,6 +173,7 @@ ports_manage_port_operations_multithread (struct
port_bucket *bucket,
+ else
+ {
+ pi = ports_lookup_port (bucket, inp->msgh_local_port, 0);
++#if 0
+ if (pi)
+ {
+ /* Store the objects address as the payload and set the
+@@ -185,6 +186,7 @@ ports_manage_port_operations_multithread (struct
port_bucket *bucket,
+ MACH_MSG_TYPE_PROTECTED_PAYLOAD);
+ inp->msgh_protected_payload = (unsigned long) pi;
+ }
++#endif
+ }
+
+ if (pi)
+diff --git a/libports/manage-one-thread.c b/libports/manage-one-thread.c
+index b920338..1b54daf 100644
+--- a/libports/manage-one-thread.c
++++ b/libports/manage-one-thread.c
+@@ -64,6 +64,7 @@ ports_manage_port_operations_one_thread (struct port_bucket
*bucket,
+ else
+ {
+ pi = ports_lookup_port (bucket, inp->msgh_local_port, 0);
++#if 0
+ if (pi)
+ {
+ /* Store the objects address as the payload and set the
+@@ -76,6 +77,7 @@ ports_manage_port_operations_one_thread (struct port_bucket
*bucket,
+ MACH_MSG_TYPE_PROTECTED_PAYLOAD);
+ inp->msgh_protected_payload = (unsigned long) pi;
+ }
++#endif
+ }
+
+ if (pi)
diff --git a/debian/patches/series b/debian/patches/series
index e719daf..c3ee5a9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -26,3 +26,4 @@ cross-link.patch
procfs-compatible
mount-nostd.patch
crash-logging.patch
+disable-duplicate-lookup-optimization.patch
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git