On 07/05, Colin Cross wrote: > > On Thu, Jul 4, 2013 at 1:22 PM, Oleg Nesterov <oleg@xxxxxxxxxx> wrote: > > > > MADV_NAME(START, PAGE_SIZE, "MY_NAME"); > > MADV_NAME(START + PAGE_SIZE, PAGE_SIZE, "MY_NAME"); > > > > The 1st MADV_NAME will split this vma, the 2nd won't merge. Not that I think > > this is buggy, just a bit inconsistent imho. > > My intention is that any vmas that would be merged without names would > be merged if they have the same name. I copied the logic used for > vm_flags, but I'll take another look. Please ignore. Sorry I was wrong, I misread this code. And when I read it now I strongly believe that vma_policy() logic is buggy. The patch cc's stable but I do not understand mempolicy.c and I have no idea how to test it. So this needs the authoritative acks. Oleg. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>