Searched hist:"09 a9f1d27892255cfb9c91203f19476765e2d8d1" (Results 1 – 4 of 4) sorted by relevance
/linux/include/linux/ |
H A D | mman.h | diff 09a9f1d27892255cfb9c91203f19476765e2d8d1 Fri Mar 29 00:26:23 CET 2013 Michel Lespinasse <walken@google.com> Revert "mm: introduce VM_POPULATE flag to better deal with racy userspace programs"
This reverts commit 186930500985 ("mm: introduce VM_POPULATE flag to better deal with racy userspace programs").
VM_POPULATE only has any effect when userspace plays racy games with vmas by trying to unmap and remap memory regions that mmap or mlock are operating on.
Also, the only effect of VM_POPULATE when userspace plays such games is that it avoids populating new memory regions that get remapped into the address range that was being operated on by the original mmap or mlock calls.
Let's remove VM_POPULATE as there isn't any strong argument to mandate a new vm_flag.
Signed-off-by: Michel Lespinasse <walken@google.com> Signed-off-by: Hugh Dickins <hughd@google.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
H A D | mm.h | diff 09a9f1d27892255cfb9c91203f19476765e2d8d1 Fri Mar 29 00:26:23 CET 2013 Michel Lespinasse <walken@google.com> Revert "mm: introduce VM_POPULATE flag to better deal with racy userspace programs"
This reverts commit 186930500985 ("mm: introduce VM_POPULATE flag to better deal with racy userspace programs").
VM_POPULATE only has any effect when userspace plays racy games with vmas by trying to unmap and remap memory regions that mmap or mlock are operating on.
Also, the only effect of VM_POPULATE when userspace plays such games is that it avoids populating new memory regions that get remapped into the address range that was being operated on by the original mmap or mlock calls.
Let's remove VM_POPULATE as there isn't any strong argument to mandate a new vm_flag.
Signed-off-by: Michel Lespinasse <walken@google.com> Signed-off-by: Hugh Dickins <hughd@google.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
/linux/mm/ |
H A D | mlock.c | diff 09a9f1d27892255cfb9c91203f19476765e2d8d1 Fri Mar 29 00:26:23 CET 2013 Michel Lespinasse <walken@google.com> Revert "mm: introduce VM_POPULATE flag to better deal with racy userspace programs"
This reverts commit 186930500985 ("mm: introduce VM_POPULATE flag to better deal with racy userspace programs").
VM_POPULATE only has any effect when userspace plays racy games with vmas by trying to unmap and remap memory regions that mmap or mlock are operating on.
Also, the only effect of VM_POPULATE when userspace plays such games is that it avoids populating new memory regions that get remapped into the address range that was being operated on by the original mmap or mlock calls.
Let's remove VM_POPULATE as there isn't any strong argument to mandate a new vm_flag.
Signed-off-by: Michel Lespinasse <walken@google.com> Signed-off-by: Hugh Dickins <hughd@google.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
H A D | mmap.c | diff 09a9f1d27892255cfb9c91203f19476765e2d8d1 Fri Mar 29 00:26:23 CET 2013 Michel Lespinasse <walken@google.com> Revert "mm: introduce VM_POPULATE flag to better deal with racy userspace programs"
This reverts commit 186930500985 ("mm: introduce VM_POPULATE flag to better deal with racy userspace programs").
VM_POPULATE only has any effect when userspace plays racy games with vmas by trying to unmap and remap memory regions that mmap or mlock are operating on.
Also, the only effect of VM_POPULATE when userspace plays such games is that it avoids populating new memory regions that get remapped into the address range that was being operated on by the original mmap or mlock calls.
Let's remove VM_POPULATE as there isn't any strong argument to mandate a new vm_flag.
Signed-off-by: Michel Lespinasse <walken@google.com> Signed-off-by: Hugh Dickins <hughd@google.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|