Skip to content

Consider memoizing iealloc() results in tcache_bin_flush_small() / _large() #598

@jasone

Description

@jasone

tcache_bin_flush_large() potentially performs multiple passes over allocations when deallocating them, and looking up their corresponding extents via iealloc() is a somewhat costly operation. Consider memoizing the extent lookup results for use in later passes.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions