Re: [PATCH] x86/mm: fix regression with huge pages on PAE

From: Ingo Molnar
Date: Thu Nov 12 2015 - 03:55:36 EST



* Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> wrote:

> > But, what problems do you expect with having a wider mask than its primary usage?
> > If it's used for 32-bit values it will be truncated down safely. (But I have not
> > tested it, so I might be missing some complication.)
>
> Yeah, I basically worry about non realized side effect.

Such a worry is prudent, the best way would be to double check a disassembly of a
before/after vmlinux and see in which functions they differ and why.

We might have similar bugs elsewhere - silently fixed by such a change.

Thanks,

Ingo
--
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/