OOM problem?
Don Lewis
truckman at FreeBSD.org
Sat Dec 9 00:29:02 UTC 2017
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
More information about the freebsd-hackers
mailing list