Store edata->state in rtree leaf and make edata_t 128B aligned.

Verified that this doesn't result in any real increase of edata_t bytes
allocated.
This commit is contained in:
Qi Wang
2021-02-26 15:32:41 -08:00
committed by Qi Wang
parent 70d1541c5b
commit 4d8c22f9a5
8 changed files with 138 additions and 60 deletions

View File

@@ -472,7 +472,7 @@ edata_t *
base_alloc_edata(tsdn_t *tsdn, base_t *base) {
size_t esn;
edata_t *edata = base_alloc_impl(tsdn, base, sizeof(edata_t),
CACHELINE, &esn);
EDATA_ALIGNMENT, &esn);
if (edata == NULL) {
return NULL;
}