mbox series

[0/3] Reduce mmap_sem usage for args manipulation

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

Message

Michal Koutný April 30, 2019, 8:18 a.m. UTC
Hello.

(apologies for late reply) I've aggregated the two previously discussed patches
into one series and based on responses made some changes summed below.

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


Michal Koutný (3):
  mm: get_cmdline use arg_lock instead of mmap_sem
  prctl_set_mm: Refactor checks from validate_prctl_map
  prctl_set_mm: downgrade mmap_sem to read lock

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