Re: mmap, the language go, problems with the linux kernel

From: Hannes Frederic Sowa
Date: Wed Feb 16 2011 - 13:16:30 EST


On Wed, Feb 9, 2011 at 8:17 PM, Ted Ts'o <tytso@xxxxxxx> wrote:
> AIX and the BSD's don't implement RLIMIT_AS at all. ÂSolaris does, but
> the man page just says "total available memory", again without
> specifying what that means. ÂSolaris also has a RLIMIT_VMEM, which is
> the total amount of virtual address space, so apparently Solaris seems
> to think that RLIMIT_VMEM and RLIMIT_AS are different things.

Actually, no:
| ./uts/common/sys/resource.h:#define RLIMIT_AS RLIMIT_VMEM

They have a userland daemon called rcapd which enforces rss-limits on
process-groups by paging out their data.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/