Re: [patch 1/2] mm: speculative get_page

From: Nick Piggin
Date: Tue Aug 01 2006 - 19:52:41 EST

Oleg Nesterov wrote:
On 08/01, Dave Kleikamp wrote:

Isn't the page locked when calling remove_mapping()? It looks like
SetPageNoNewRefs & ClearPageNoNewRefs are called in safe places. Either
the page is locked, or it's newly allocated. I could have missed
something, though.

No, I think it is I who missed something, thanks.

Yeah, SetPageNoNewRefs is indeed called only under PageLocked or for
newly allocated pages. I should make a note about that, as it isn't
immediately clear.


SUSE Labs, Novell Inc.
Send instant messages to your online friends -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at