Herbert van den Bergh 5ed44a401d do not limit locked memory when RLIMIT_MEMLOCK is RLIM_INFINITY
Fix a bug in mm/mlock.c on 32-bit architectures that prevents a user from
locking more than 4GB of shared memory, or allocating more than 4GB of
shared memory in hugepages, when rlim[RLIMIT_MEMLOCK] is set to
RLIM_INFINITY.

Signed-off-by: Herbert van den Bergh <herbert.van.den.bergh@oracle.com>
Acked-by: Chris Mason <chris.mason@oracle.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-16 09:05:37 -07:00
..
2007-03-27 08:52:47 +02:00
2007-07-10 08:04:15 +02:00
2006-12-22 08:55:49 -08:00
2007-05-14 09:55:35 +09:00
2007-05-07 12:12:54 -07:00
2007-07-16 09:05:36 -07:00
2007-02-15 09:57:03 -08:00
2007-05-21 09:18:19 -07:00
2007-05-07 12:12:55 -07:00
2005-04-16 15:20:36 -07:00
2007-05-07 12:12:54 -07:00
2007-05-07 12:12:52 -07:00
2007-07-16 09:05:36 -07:00
2007-07-16 09:05:36 -07:00
2007-05-17 05:23:04 -07:00
2007-07-06 10:26:50 -07:00