mbox series

[v3,0/2] Reduce mmap_sem usage for args manipulation

Message ID 20190502125203.24014-1-mkoutny@suse.com (mailing list archive)
Headers show
Series Reduce mmap_sem usage for args manipulation | expand

Message

Michal Koutný May 2, 2019, 12:52 p.m. UTC
Hello.

Just merged the two dicussed patches and fixed an overlooked warning.

v2
- insert a patch refactoring validate_prctl_map
- move find_vma out of the arg_lock critical section

v3
- squash get_cmdline and prctl_set_mm patches (to keep locking
  consistency)
- validate_prctl_map_addr: remove unused variable mm

Michal Koutný (2):
  prctl_set_mm: Refactor checks from validate_prctl_map
  prctl_set_mm: downgrade mmap_sem to read lock

 kernel/sys.c | 56 ++++++++++++++++++++++++++++----------------------------
 mm/util.c    |  4 ++--
 2 files changed, 30 insertions(+), 30 deletions(-)