Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
erlang
0911-Use-schedulers_online-when-creating-bound-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0911-Use-schedulers_online-when-creating-bound-processes.patch of Package erlang
From b4d2bfffdac00812dc31540e33afa8728fff3f46 Mon Sep 17 00:00:00 2001 From: Lukas Larsson <lukas@erlang.org> Date: Mon, 4 May 2020 11:41:43 +0200 Subject: [PATCH 2/2] Use schedulers_online when creating bound processes If a process is bound to a suspended schedulers we get into all sorts of problems as they will never run and thus purge cannot complete.. etc etc. --- erts/emulator/test/alloc_SUITE.erl | 2 +- erts/emulator/test/counters_SUITE.erl | 6 +++--- erts/emulator/test/process_SUITE.erl | 2 +- erts/emulator/test/receive_SUITE.erl | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/erts/emulator/test/alloc_SUITE.erl b/erts/emulator/test/alloc_SUITE.erl index 24677247a7..8288da9f61 100644 --- a/erts/emulator/test/alloc_SUITE.erl +++ b/erts/emulator/test/alloc_SUITE.erl @@ -370,7 +370,7 @@ many_shot(CaseName, I, Mem) -> Result1. concurrent(CaseName) -> - NSched = erlang:system_info(schedulers), + NSched = erlang:system_info(schedulers_online), Mem = (free_memory() * 3) div 4, PRs = lists:map(fun(I) -> spawn_opt(fun() -> many_shot(CaseName, I, -- 2.26.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor