Subject: uvm changes causes problems on pmax (lockedlimit)
To: None <,>
From: Erik Bertelsen <>
List: current-users
Date: 06/19/1999 10:13:01
When compiling a pmax kernel, I get the following after upgrading to
yesterday's sup'ed sources:

../../../../uvm/uvm_mmap.c: In function `uvm_mmap':
../../../../uvm/uvm_mmap.c:1174: `lockedlimit' undeclared (first use in this function)
../../../../uvm/uvm_mmap.c:1174: (Each undeclared identifier is reported only once
../../../../uvm/uvm_mmap.c:1174: for each function it appears in.)

This occurs in the following lines:

                        if ((atop(size) + uvmexp.wired) > uvmexp.wiredmax
#ifdef pmap_wired_count
                            || (lockedlimit != 0 && (size +
                                 ptoa(pmap_wired_count(vm_map_pmap(map)))) >
                        ) {
                                retval = KERN_RESOURCE_SHORTAGE;
                                /* unmap the region! */ 
                                (void) uvm_unmap(map, *addr, *addr + size);
                                goto bad; 

Whether this problem is MI or pmax/mips specific, I don't know.

- Erik Bertelsen