Re: [PATCH 02/40] x86: mm: drop TLB flush from ptep_set_access_flags

From: Borislav Petkov
Date: Fri Nov 23 2012 - 04:53:02 EST


On Fri, Nov 23, 2012 at 09:09:09AM +0000, Mel Gorman wrote:
> You sortof can[1]. Borislav Petkov answered that they do
> https://lkml.org/lkml/2012/11/17/85 and quoted the manual at
> https://lkml.org/lkml/2012/10/29/414 saying that this should be ok.
>
> [1] There is no delicate way of putting it. I've no idea what the
> current status of current and former AMD kernel developers is.

All those based in Dresden don't work for AMD anymore.

But regardless, I've already confirmed with AMD design that this is
actually architectural and we're zapping the TLB entry on a #PF on all
relevant CPUs.

I'd still like to have some sort of an assertion there just in case but,
as Linus pointed out, that won't be easy. I'd guess it's up to you -mm
guys to think up something sick that works under CONFIG_DEBUG_VM :).

HTH.

--
Regards/Gruss,
Boris.
--
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/