Date: Fri, 8 Dec 2017 16:28:46 -0800 (PST) From: Don Lewis <truckman@FreeBSD.org> To: Larry McVoy <lm@mcvoy.com> Cc: Konstantin Belousov <kostikbel@gmail.com>, freebsd-hackers@freebsd.org Subject: Re: OOM problem? Message-ID: <tkrat.64a19a64aa4403e7@FreeBSD.org> In-Reply-To: <20171208150121.GH16028@mcvoy.com> References: <20171208011430.GA16016@mcvoy.com> <20171208101543.GC2272@kib.kiev.ua> <20171208150121.GH16028@mcvoy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8 Dec, Larry McVoy wrote: > On Fri, Dec 08, 2017 at 12:15:43PM +0200, Konstantin Belousov wrote: >> A process waiting for a page in the fault handler must receive the page >> to get out of the handler, even if the system is in OOM. > > I may be confusing you because this is not the normal page fault on a file > code path (at least I think it is not). The process is indeed faulting > in pages but they are pages that were allocated via whatever malloc calls > these days (in SunOS it mmapped /dev/zero, before that it was sbrk(2), > I dunno what FreeBSD does, I couldn't find malloc in src/lib, I see that > it's jemalloc but /usr/src/lib/libc/stdlib/jemalloc has no files?) /usr/src/contrib/jemalloc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?tkrat.64a19a64aa4403e7>