Re: [PATCH] do not limit locked memory when RLIMIT_MEMLOCK is RLIM_INFINITY

2007-07-13 Thread Andrew Morton
On Fri, 13 Jul 2007 08:37:50 -0700 Herbert van den Bergh <[EMAIL PROTECTED]> wrote: > Andrew Morton wrote: > > > > OK. Seems like a nasty bug if one happens to want to do that. Should we > > backport this into 2.6.22.x? > > > > Yes, please. Do you need me to do anything for that? > Nope.

Re: [PATCH] do not limit locked memory when RLIMIT_MEMLOCK is RLIM_INFINITY

2007-07-13 Thread Herbert van den Bergh
Andrew Morton wrote: > > OK. Seems like a nasty bug if one happens to want to do that. Should we > backport this into 2.6.22.x? > Yes, please. Do you need me to do anything for that? Thanks, Herbert. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a m

Re: [PATCH] do not limit locked memory when RLIMIT_MEMLOCK is RLIM_INFINITY

2007-07-13 Thread Andrew Morton
On Mon, 09 Jul 2007 17:59:12 -0700 Herbert van den Bergh <[EMAIL PROTECTED]> wrote: > > [resending, since my previous message had tabs converted to spaces] > > This patch fixes a bug in mm/mlock.c on 32-bit architectures that prevents > a user from locking more than 4GB of shared memory, or all

[PATCH] do not limit locked memory when RLIMIT_MEMLOCK is RLIM_INFINITY

2007-07-09 Thread Herbert van den Bergh
[resending, since my previous message had tabs converted to spaces] This patch fixes 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_IN

Re: [PATCH] do not limit locked memory when RLIMIT_MEMLOCK is RLIM_INFINITY

2007-07-09 Thread Randy Dunlap
On Mon, 09 Jul 2007 17:26:24 -0700 Herbert van den Bergh wrote: > > This patch fixes 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 R

Re: [PATCH] do not limit locked memory when RLIMIT_MEMLOCK is RLIM_INFINITY

2007-07-09 Thread KAMEZAWA Hiroyuki
On Mon, 09 Jul 2007 17:26:24 -0700 Herbert van den Bergh <[EMAIL PROTECTED]> wrote: > > This patch fixes 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_ME

[PATCH] do not limit locked memory when RLIMIT_MEMLOCK is RLIM_INFINITY

2007-07-09 Thread Herbert van den Bergh
This patch fixes 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 <[EMAIL PROTECTED]> Ack