1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Make debug printf less threatenning and make it only print out once.

MFC after:	2 days
This commit is contained in:
Julian Elischer 2004-09-07 06:38:22 +00:00
parent a8b491c121
commit 5498350529
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134888

View File

@ -342,9 +342,9 @@ setrunqueue(struct thread *td, int flags)
* Totally ignore the ksegrp run queue.
*/
if (kg->kg_avail_opennings != 1) {
if (limitcount < 100) {
if (limitcount < 1) {
limitcount++;
printf("pid %d: bad slot count (%d)\n",
printf("pid %d: corrected slot count (%d->1)\n",
td->td_proc->p_pid, kg->kg_avail_opennings);
}