summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJongwoo Chae <jongwoo.chae@samsung.com>2015-12-02 09:07:18 (GMT)
committerJongwoo Chae <jongwoo.chae@samsung.com>2015-12-02 09:09:46 (GMT)
commita82e4a19e88da9bccb1fb539f66298a7e3b8cac6 (patch)
tree02752c8f909b255164d95aa61f123c8f13eece1b
parent065b007a1b3c516b3c7f12c360dd2dcdeb4ac0c8 (diff)
downloadqemu-a82e4a19e88da9bccb1fb539f66298a7e3b8cac6.zip
qemu-a82e4a19e88da9bccb1fb539f66298a7e3b8cac6.tar.gz
qemu-a82e4a19e88da9bccb1fb539f66298a7e3b8cac6.tar.bz2
This reverts commit 0bcc4adb9792b7a446494b6494e13a0d109eb45a. Change-Id: I8e382f6eae453dbabb3be20df5568db31a013734 Signed-off-by: Jongwoo Chae <jongwoo.chae@samsung.com>
-rw-r--r--linux-user/syscall.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 52885ab..84193ce 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -4531,15 +4531,6 @@ static int do_fork(CPUArchState *env, unsigned int flags, abi_ulong newsp,
if (nptl_flags & CLONE_SETTLS)
cpu_set_tls (new_env, newtls);
- /* agraf: Pin ourselves to a single CPU when running multi-threaded.
- This turned out to improve stability for me. */
- {
- cpu_set_t mask;
- CPU_ZERO(&mask);
- CPU_SET(0, &mask);
- sched_setaffinity(0, sizeof(mask), &mask);
- }
-
/* Grab a mutex so that thread setup appears atomic. */
pthread_mutex_lock(&clone_lock);