From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: From: Cyrill Gorcunov Subject: [PATCH v6 0/2] lib/core/fiber: Increase default stack size Date: Fri, 15 Mar 2019 23:58:00 +0300 Message-Id: <20190315205802.18847-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: Vladimir Davydov Cc: tml , Cyrill Gorcunov List-ID: v4: We split the stack management task into two: first one to increase stack size asap, to not block users and testers, and second one to rework stack management to relax rss pressue. This patchset covers the first task only. The second part is still under rfc and hopefully won't take too long. v5: Use random offsets for each fiber instead of global one. Shrink stack to 64K on recycle. v6: Drop overflow mark competely since it doesn't seem to be very useful. Simplify code, and put #ifdefs where needed Take a look please, once time permit. Cyrill Gorcunov (2): lib/core/fiber: Increase default stack size lib/core/fiber: Relax stack memory usage on recycle src/lib/core/fiber.c | 184 ++++++++++++++++++++++++++++++++++++++++++- src/lib/core/fiber.h | 12 +++ test-run | 2 +- 3 files changed, 196 insertions(+), 2 deletions(-) -- 2.20.1