Thread (36 messages) 36 messages, 5 authors, 2016-05-06

Re: GUP guarantees wrt to userspace mappings redesign

From: Oleg Nesterov <oleg@redhat.com>
Date: 2016-05-02 15:17:42
Also in: lkml

I am sure I missed the problem, but...

On 05/02, Kirill A. Shutemov wrote:
Quick look around:

 - I don't see any check page_count() around __replace_page() in uprobes,
   so it can easily replace pinned page.
Why it should? even if it races with get_user_pages_fast()... this doesn't
differ from the case when an application writes to MAP_PRIVATE non-anonymous
region, no?

Oleg.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help