Re: get_user_pages() and shared memory question

From: Hugh Dickins
Date: Tue Jun 21 2005 - 14:41:09 EST


On Tue, 21 Jun 2005, Timur Tabi wrote:
>
> In this case, when a process creates a new memory segment, I just want to know
> whether the pages with a non-zero refcount (because of the get_user_pages()
> call) can ever be used in a new shared memory segment.
>
> I'm assuming the answer is no, because that would defeat the purpose of
> refcount (right?).

Exactly right.

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