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

From: Alexander Kuleshov
Date: Thu Mar 05 2015 - 13:12:15 EST


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:)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/