]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix panic with RACCT that could occur in low memory (or out of swap)
authortrasz <trasz@FreeBSD.org>
Tue, 22 May 2012 15:58:27 +0000 (15:58 +0000)
committertrasz <trasz@FreeBSD.org>
Tue, 22 May 2012 15:58:27 +0000 (15:58 +0000)
commit3a811deac759f68cc1a1d7de0ee8ef5b84169f9f
treec53914e53b243e512153a3d9ae159429213c2f38
parentd1d8560148b9e67eb619ed84268d3fd537ef93e0
Fix panic with RACCT that could occur in low memory (or out of swap)
situations, due to fork1() calling racct_proc_exit() without calling
racct_proc_fork() first.

Submitted by: Mateusz Guzik <mjguzik at gmail dot com> (earlier version)
Reviewed by: Mateusz Guzik <mjguzik at gmail dot com>
sys/kern/kern_fork.c
sys/kern/kern_racct.c