Re: [PATCH v1][CLEANUP] x86: use already defined macros instead of hard-coded values

Alexander Kuleshov
2015-03-05T18:12:11Z

Hello Borislav,

>
> This patch introduces two new bugs. For educational purposes I'm not
> going to tell you where they are but let you find them.
>

Ok, i looked on it with gdb, and X86_FEATURE_NX is not correct here.
It's a bug number one.
And L3_START_KERNEL*8 + 1, must be L3_START_KERNEL*8 + 8, as we works
with page entries
or i'm wrong here?

Anyway, thanks for education:)