Tcache flush: prefetch edata contents.
This frontloads more of the miss latency. It also moves it to a pathway where we have not yet acquired any locks, so that it should (hopefully) reduce hold times.
This commit is contained in:
committed by
David Goldblatt
parent
9f9247a62e
commit
31a629c3de
@@ -247,6 +247,7 @@ tcache_bin_flush_metadata_visitor(void *szind_sum_ctx,
|
||||
emap_full_alloc_ctx_t *alloc_ctx) {
|
||||
size_t *szind_sum = (size_t *)szind_sum_ctx;
|
||||
*szind_sum -= alloc_ctx->szind;
|
||||
util_prefetch_write_range(alloc_ctx->edata, sizeof(edata_t));
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user