From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Date: Tue, 5 Mar 2019 11:17:30 +0300 From: Cyrill Gorcunov Subject: Re: [tarantool-patches] [rfc 3/4] core/fiber: Put static watermark into stack to track its usage Message-ID: <20190305081730.GK13301@uranus.lan> References: <20190302125524.279852704@gmail.com> <20190302130034.050488016@gmail.com> <20190305080813.GJ21955@chai> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190305080813.GJ21955@chai> To: Konstantin Osipov Cc: tarantool-patches@freelists.org, vdavydov.dev@gmail.com List-ID: On Tue, Mar 05, 2019 at 11:08:13AM +0300, Konstantin Osipov wrote: ... > > Could you please incorporate some randomness when assigning this > address? A simple pseudo-random number within range 0 > ..page_size/2 would make me happy. Sure. Also I think we should switch to 2M pages for stack since it will relax tlb pressue significanly but this should be done on top as a separate patchset, later.