Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Sep 2014 14:25:18 +0400
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        John Baldwin <jhb@freebsd.org>
Cc:        src-committers@freebsd.org, Peter Wemm <peter@wemm.org>, Alan Cox <alc@rice.edu>, svn-src-all@freebsd.org, Dmitry Morozovsky <marck@rinet.ru>, Andriy Gapon <avg@freebsd.org>, Steven Hartland <killing@multiplay.co.uk>, "Matthew D. Fuller" <fullermd@over-yonder.net>, svn-src-head@freebsd.org, Nikolai Lifanov <lifanov@mail.lifanov.com>
Subject:   Re: svn commit: r270759 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs vm
Message-ID:  <20140909102517.GA22834@zxy.spb.ru>
In-Reply-To: <16592453.QchvydMH6M@ralph.baldwin.cx>
References:  <201408281950.s7SJo90I047213@svn.freebsd.org> <5409810E.1080705@FreeBSD.org> <20140907125649.GA72244@zxy.spb.ru> <16592453.QchvydMH6M@ralph.baldwin.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 08, 2014 at 11:17:51AM -0400, John Baldwin wrote:

> On Sunday, September 07, 2014 04:56:49 PM Slawa Olhovchenkov wrote:
> > PS: very bad that 'data limit' don't anymore reflect application
> > memory consumer. and very small application can adapt to 'no memory'
> > from system.
> 
> You can use RLIMIT_AS instead of RLIMIT_DATA.  jemalloc can also be configured 
> to use sbrk(), though I think there's no way to prevent it from falling back 
> to mmap(MAP_ANON) if sbrk() fails.

Formally you are right. Realy this is scorn. And I don't know how
rightly. May be account in RLIMIT_DATA MAP_ANON? Anyway firefox don't
run GC if malloc fail and this is bad.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140909102517.GA22834>