From 8781932b3b8769b6f208ac7c00471122ec7dd055 Mon Sep 17 00:00:00 2001 From: Rickard Green Date: Fri, 18 Nov 2011 15:19:46 +0100 Subject: Remove common run-queue in SMP case The common run-queue implementation is removed since it is unused, untested, undocumented, unsupported, and only complicates the code. A spinlock used by the run-queue management sometimes got heavily contended. This code has now been rewritten, and the spinlock has been removed. --- erts/emulator/beam/global.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'erts/emulator/beam/global.h') diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h index ba0b96870e..b40bab9b33 100644 --- a/erts/emulator/beam/global.h +++ b/erts/emulator/beam/global.h @@ -204,7 +204,7 @@ erts_port_runq(Port *prt) rq1 = rq2; } #else - return erts_common_run_queue; + return ERTS_RUNQ_IX(0); #endif } -- cgit v1.2.3