Date: Tue, 11 Nov 2003 01:09:26 -0800 (PST) From: Joseph Koshy <jkoshy@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_ktrace.c Message-ID: <200311110909.hAB99QOL021150@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jkoshy 2003/11/11 01:09:26 PST
FreeBSD src repository
Modified files:
sys/kern kern_ktrace.c
Log:
Bound the number of iterations a thread can perform inside
ktr_resize_pool(); this eliminates a potential livelock.
Return ENOSPC only if we encountered an out-of-memory condition when
trying to increase the pool size.
Reviewed by: jhb, bde (style)
Revision Changes Path
1.91 +8 -6 src/sys/kern/kern_ktrace.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311110909.hAB99QOL021150>
