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

From: David Mosberger
Date: Thu May 27 2004 - 17:13:45 EST


>>>>> On Fri, 28 May 2004 08:00:54 +1000, Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> 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
-
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/