Re: [PATCH v4 7/7] mtrr, mm, x86: Enhance MTRR checks for KVA huge page mapping
From: Borislav Petkov
Date: Tue May 12 2015 - 03:28:17 EST
On Mon, May 11, 2015 at 04:09:39PM -0600, Toshi Kani wrote:
> There may not be any type conflict with MTRR_TYPE_INVALID.
Because...?
Let me guess: you cannot change this function to return a signed value
which is the type when positive and an error when negative?
> I will change the caller to check MTRR_TYPE_INVALID, and treat it as a
> uniform case.
That would be, of course, also wrong.
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
--
--
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/