From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Date: Mon, 6 May 2019 13:57:18 +0300 From: Cyrill Gorcunov Subject: Re: [PATCH 3/3] test: slab_arena -- Verify madvise Message-ID: <20190506105718.GP2488@uranus.lan> References: <20190501155006.14546-1-gorcunov@gmail.com> <20190501155006.14546-4-gorcunov@gmail.com> <20190506104520.it7uem5woxykg5xt@esperanza> <20190506104804.GO2488@uranus.lan> <20190506105552.ckbg5baemwroablb@esperanza> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190506105552.ckbg5baemwroablb@esperanza> To: Vladimir Davydov Cc: tml , Alexander Turenko List-ID: On Mon, May 06, 2019 at 01:55:52PM +0300, Vladimir Davydov wrote: > > Okay, I'm fine with it. > > To be prudent though, we'd have to check that the flag is set not only > for the preallocated memory region, but also for slabs allocated > afterwards (see slab_map -> mmap_checked). Not sure if it's worth it > though. Yes, and I already extended the test, simply didn't sent it out yet, because I expected we gonna rework the api :)