Re: [PATCH 3/5] mm: powerpc ptlock comments

From: Benjamin Herrenschmidt
Date: Tue Nov 22 2005 - 03:00:18 EST


On Tue, 2005-11-22 at 07:12 +0000, Hugh Dickins wrote:

> I'd appreciate something that updates the "because" part too, but don't
> know the answer. That other patch will need to come from your end - Ben?

Hrm... same reason as __hash_page(), the code now locks the PTE using
the _PAGE_BUSY bit. The last store does the update and unlock and
doesn't need to be atomic. However, now that I look at it, it might need
an lwsync. Paul ?

Ben.


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