-
Chris Wright authored
Only check memlock rlimit against mm->total_vm when mlockall() flags include MCL_CURRENT. Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
74b2d0c0
Only check memlock rlimit against mm->total_vm when mlockall() flags include MCL_CURRENT. Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>