Re: [patch] x86: fix page attribute corruption with cpa()

From: Nick Piggin
Date: Wed Jan 21 2009 - 08:20:51 EST


On Tue, Jan 20, 2009 at 02:20:21PM -0800, Suresh B wrote:
> This patch fixes a performance issue reported by Linus on his
> Nehalem system. While Linus reverted the PAT patch (commit
> 58dab916dfb57328d50deb0aa9b3fc92efa248ff) which exposed the issue,
> existing cpa() code can potentially still cause wrong(page attribute
> corruption) behavior.
>
> This patch also fixes the "WARNING: at arch/x86/mm/pageattr.c:560" that
> various people reported.

This doesn't seem to show up any more after running the system for
some time, so I think it's fixed here. Thanks!

>
> ---
> From: Suresh Siddha <suresh.b.siddha@xxxxxxxxx>
> Subject: x86: fix page attribute corruption with cpa()

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