Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 1996 16:40:02 -0800 (PST)
From:      "John S. Dyson" <toor@dyson.iquest.net>
To:        freebsd-bugs
Subject:   Re: kern/1914: vm_page_alloc(ZERO): missing page on free queue
Message-ID:  <199610290040.QAA21072@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/1914; it has been noted by GNATS.

From: "John S. Dyson" <toor@dyson.iquest.net>
To: hsu@clinet.fi
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: kern/1914: vm_page_alloc(ZERO): missing page on free queue
Date: Mon, 28 Oct 1996 19:34:07 -0500 (EST)

 > 
 > 
 > >Number:         1914
 > >Category:       kern
 > >Synopsis:       vm_page_alloc(ZERO): missing page on free queue
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       high
 > >Responsible:    freebsd-bugs
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Mon Oct 28 05:50:02 PST 1996
 > >Last-Modified:
 > >Originator:     Heikki Suonsivu
 > >Organization:
 > Clinet, Espoo, Finland
 > >Release:        FreeBSD 2.2-CURRENT i386
 > >Environment:
 > 
 Heikki,
 	There is an off by one error in that version of the code.
 On about line 693 in vm_page.c, the conditional in the for
 loop
 	(i + j) > 0
 
 should be
 
 	(i + j) >= 0
 
 
 There is also the same error on about line 604 where there is
 a for loop comparison:
 
 	i > 0;
 
 That should be:
 
 	i >= 0;
 
 Give that a shot!!!
 
 John
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610290040.QAA21072>