lkml.org 
[lkml]   [2018]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v4 1/2] x86/fpu: track AVX-512 usage of tasks
From
Date
On 12/11/18 4:34 PM, Li, Aubrey wrote:
>> Is there a reason we shouldn't do:
>>
>> if (!cpu_feature_enabled(X86_FEATURE_AVX512F))
>> update_avx512_state(fpu);
>>
>> ?
>>
> Why _!_ ?

Sorry, got it backwards. I think I was considering having you do a

if (!cpu_feature_enabled(X86_FEATURE_AVX512F))
return;

inside of update_avx512_state(), but I got the state mixed up in my head.

You don't need the '!'.

\
 
 \ /
  Last update: 2018-12-12 01:40    [W:0.691 / U:1.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site