From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: mechanik20051988 <mechanik20.05.1988@gmail.com>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH v2 3/3] small: changed small allocator pool management
Date: Thu, 24 Dec 2020 16:13:44 +0100 [thread overview]
Message-ID: <19e40698-466e-ac1f-5c77-0eca2deb85d4@tarantool.org> (raw)
In-Reply-To: <2053b49dff3cb419245d243e96dbe981625be6d2.1608715671.git.mechanik20051988@gmail.com>
Thanks for the fixes!
On 23.12.2020 14:14, mechanik20051988 wrote:
> 1. Fxed
> 2. As i understand you comment, you wrote that pools
> should be aligned on the 8-byte boundary.
> This is guaranteed by the granularity parameter in small_class if min_alloc
> have 8-byte boundary alignment. We calculate
> min_alloc = objsize_min = small_align(objsize_min, sizeof(intptr_t));
> and pass granularity sizeof(uintptr_t).
No, I meant the indentation alignment is broken. If a
function call consists of multiple lines, the non-first
lines should be aligned by '(' + 1. See examples in
the existing code.
next prev parent reply other threads:[~2020-12-24 15:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-23 13:14 [Tarantool-patches] [PATCH v2 0/3] change small allocator behavior mechanik20051988
2020-12-23 13:14 ` [Tarantool-patches] [PATCH] memtx: " mechanik20051988
2020-12-24 15:13 ` Vladislav Shpilevoy
[not found] ` <0076A088-8CBC-4238-9EEB-0C73EC516098@hxcore.ol>
2020-12-25 7:42 ` [Tarantool-patches] FW: " Evgeny Mekhanik
2020-12-28 12:10 ` Vladislav Shpilevoy
2020-12-23 13:14 ` [Tarantool-patches] [PATCH v2 1/3] small: implement new size class evaluation mechanik20051988
2020-12-24 15:13 ` Vladislav Shpilevoy
[not found] ` <A90D94B7-298A-4D1B-8134-6EE2ED45D615@hxcore.ol>
2020-12-25 7:48 ` [Tarantool-patches] FW: " Evgeny Mekhanik
2020-12-28 12:10 ` [Tarantool-patches] " Vladislav Shpilevoy
2020-12-23 13:14 ` [Tarantool-patches] [PATCH v2 2/3] test: add small allocator performance test mechanik20051988
2020-12-23 13:14 ` [Tarantool-patches] [PATCH v2 3/3] small: changed small allocator pool management mechanik20051988
2020-12-24 15:13 ` Vladislav Shpilevoy [this message]
[not found] ` <27E47303-4307-4713-BB8A-2427FED09DDE@hxcore.ol>
2020-12-25 7:52 ` [Tarantool-patches] FW: " Evgeny Mekhanik
2020-12-25 7:56 ` Evgeny Mekhanik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19e40698-466e-ac1f-5c77-0eca2deb85d4@tarantool.org \
--to=v.shpilevoy@tarantool.org \
--cc=mechanik20.05.1988@gmail.com \
--cc=tarantool-patches@dev.tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH v2 3/3] small: changed small allocator pool management' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox