[PATCH 3/3] uffd: Introduce fork() notification

2015-03-18 Thread Pavel Emelyanov
As described in previous e-mail, we need to get informed when the task, whose mm is monitored with uffd, calls fork(). The fork notification is the new uffd with the same regions and flags as those on parent. When read()-ing from uffd the monitor task would receive the new uffd's descriptor

[PATCH 3/3] uffd: Introduce fork() notification

2015-03-18 Thread Pavel Emelyanov
As described in previous e-mail, we need to get informed when the task, whose mm is monitored with uffd, calls fork(). The fork notification is the new uffd with the same regions and flags as those on parent. When read()-ing from uffd the monitor task would receive the new uffd's descriptor