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

David Mosberger
2004-05-27T22:12:35Z

>>>>> On Fri, 28 May 2004 08:00:54 +1000, Benjamin Herrenschmidt <benh@kernel.crashing.org> said:

Benjamin> Same for PPC, but we still have a race where we can reach
Benjamin> that code, see my initial mail (typically, because your
Benjamin> low level code, for obvious reasons, doesn't take the mm
Benjamin> semaphore, thus the page may have been mapped right after
Benjamin> you decide to go to do_page_fault and before it takes the
Benjamin> mm sem).

Yes; I was only explaining how this works on ia64.

--david