[CRIU] [PATCH 05/15] cpuinfo: x86 -- Rework cpuinfo parsing

Cyrill Gorcunov gorcunov at gmail.com
Tue Sep 23 11:18:32 PDT 2014


On Tue, Sep 23, 2014 at 10:05:36PM +0400, Pavel Emelyanov wrote:
> > +			else if (!strcmp(tok, x86_cap_flags[X86_FEATURE_AVX512CD]))
> > +				cpu_set_feature(X86_FEATURE_AVX512CD);
> 
> OMG. Is there some better way of getting this mask? Via sysfs maybe?

As to me -- I'm planning to rework it into native cpuid() helpers, just needed
some draft version which would known to work.


More information about the CRIU mailing list