[CRIU] [PATCH 06/22] cpu: Prepare scaffold for obtaining cpu features
Cyrill Gorcunov
gorcunov at openvz.org
Wed Dec 12 09:17:36 EST 2012
On Wed, Dec 12, 2012 at 06:14:23PM +0400, Pavel Emelyanov wrote:
> On 12/12/2012 06:04 PM, Cyrill Gorcunov wrote:
> > On Wed, Dec 12, 2012 at 05:47:29PM +0400, Pavel Emelyanov wrote:
> >>> +#define X86_FEATURE_MTRR (0*32+12) /* Memory Type Range Registers */
> >>> +#define X86_FEATURE_PGE (0*32+13) /* Page Global Enable */
> >>> +#define X86_FEATURE_MCA (0*32+14) /* Machine Check Architecture */
> >>> +#define X86_FEATURE_CMOV (0*32+15) /* CMOV instructions */
> >>> + /* (plus FCMOVcc, FCOMI with FPU) */
> >>
> >> Why do we need all this crap, while we use only 3 of them?
> >
> > These are common bits and I don't know which else we might need in near
> > future. Keeping the whole cpuid infrastructure close to one implemented
> > in kernel is certainly a win.
>
> I believe it's not, at least now. Plz, trim this stuff, OK?
Sure, as you wish ;)
Cyrill
More information about the CRIU
mailing list