diff options
author | Davidlohr Bueso <davidlohr@hp.com> | 2014-01-21 15:49:16 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-21 16:19:44 -0800 |
commit | 1f1cd7054fe7f45e65dd4963d0a38e5ab7a57cae (patch) | |
tree | 3296b8809eca9c4eb6db72a4d00d2c534b6c8db2 /include/drm/drm_edid.h | |
parent | 363ee17f0f405faff74d9aaf93d21d5f41d5102d (diff) | |
download | linux-1f1cd7054fe7f45e65dd4963d0a38e5ab7a57cae.tar.gz linux-1f1cd7054fe7f45e65dd4963d0a38e5ab7a57cae.tar.bz2 linux-1f1cd7054fe7f45e65dd4963d0a38e5ab7a57cae.zip |
mm/mlock: prepare params outside critical region
All mlock related syscalls prepare lock limits, lengths and start
parameters with the mmap_sem held. Move this logic outside of the
critical region. For the case of mlock, continue incrementing the
amount already locked by mm->locked_vm with the rwsem taken.
Signed-off-by: Davidlohr Bueso <davidlohr@hp.com>
Cc: Rik van Riel <riel@redhat.com>
Reviewed-by: Michel Lespinasse <walken@google.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/drm/drm_edid.h')
0 files changed, 0 insertions, 0 deletions