Re: [PATCH] mm: get_user_pages(write,force) refuse to COW in shared areas

2014-04-25 Thread Oleg Nesterov
On 04/24, Hugh Dickins wrote: On Thu, 24 Apr 2014, Oleg Nesterov wrote: So, what do you think about the patch below? It is probably fine in any case, but is there any strong reason to follow the gup's behaviour and forbid the anon page in VM_MAYSHARE !VM_MAYWRITE vma? I don't

Re: [PATCH] mm: get_user_pages(write,force) refuse to COW in shared areas

2014-04-24 Thread Oleg Nesterov
Hi Hugh, Sorry for late reply. First of all, to avoid the confusion, I think the patch is fine. When I saw this patch I decided that uprobes should be updated accordingly, but I just realized that I do not understand what should I write in the changelog. On 04/04, Hugh Dickins wrote: +