Messages in this thread | | | Date | Wed, 23 Oct 2013 02:33:52 -0700 | From | walken@google ... | Subject | Re: [PATCH 2/3] mm/mlock: prepare params outside critical region |
| |
On Thu, Oct 17, 2013 at 05:50:37PM -0700, Davidlohr Bueso wrote: > 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: Michel Lespinasse <walken@google.com> > Cc: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Michel Lespinasse <walken@google.com>
-- Michel "Walken" Lespinasse A program is never fully debugged until the last user dies.
| |