It looks like you already added the non_temporal_threshold as part of the cpu_features tunables? Here's a small patch that allows the cpu_features struct to be passed in. This is useful if you need to be able to call init_cacheinfo with cpu_features other than the global ones. On Thu, May 25, 2017 at 2:23 PM, Erich Elsen wrote: > Ok, will do. > > On Wed, May 24, 2017 at 2:36 PM, H.J. Lu wrote: >> On Mon, May 22, 2017 at 8:19 PM, Erich Elsen wrote: >>> Here is the patch that slightly refactors how init_cacheinfo is called. >>> >> >> Please take a look at hjl/tunables/master branch. You can add >> non_temporal_threshold support on top of it. >> >> >> -- >> H.J.