Re: [PATCH] ppc64: Fix possible race with set_pte on a present PTE

Ivan Kokshaysky
2004-05-25T22:18:45Z

On Tue, May 25, 2004 at 03:01:55PM -0700, Linus Torvalds wrote:
> A "not-present" fault is a totally different fault from a "protection
> fault". Only the not-present fault ends up walking the page tables, if I
> remember correctly.

Precisely. The architecture reference manual says:
"Additionally, when the software changes any part (except the software
field) of a *valid* PTE, it must also execute a tbi instruction."

Ivan.