This adds some overhead to the tcache flush path (which is one of the popular paths). Guard it behind a config option.
mentioned in commit ac24ffb2