vm_unix.c (a1e5cf9de78a2765cddbef11d7402855eeaf29cb) | vm_unix.c (cd41fc123ea3ae3bdc43c65f4fcdeb07f27059f8) |
---|---|
1/* 2 * Copyright (c) 1988 University of Utah. 3 * Copyright (c) 1991, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * the Systems Programming Group of the University of Utah Computer 8 * Science Department. --- 24 unchanged lines hidden (view full) --- 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * from: Utah $Hdr: vm_unix.c 1.1 89/11/07$ 39 * 40 * @(#)vm_unix.c 8.1 (Berkeley) 6/11/93 | 1/* 2 * Copyright (c) 1988 University of Utah. 3 * Copyright (c) 1991, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * the Systems Programming Group of the University of Utah Computer 8 * Science Department. --- 24 unchanged lines hidden (view full) --- 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * from: Utah $Hdr: vm_unix.c 1.1 89/11/07$ 39 * 40 * @(#)vm_unix.c 8.1 (Berkeley) 6/11/93 |
41 * $Id: vm_unix.c,v 1.4 1995/01/09 16:05:59 davidg Exp $ | 41 * $Id: vm_unix.c,v 1.5 1995/02/20 17:36:36 davidg Exp $ |
42 */ 43 44/* 45 * Traditional sbrk/grow interface to VM 46 */ 47#include <sys/param.h> 48#include <sys/systm.h> 49#include <sys/proc.h> 50#include <sys/resourcevar.h> 51 52#include <vm/vm.h> | 42 */ 43 44/* 45 * Traditional sbrk/grow interface to VM 46 */ 47#include <sys/param.h> 48#include <sys/systm.h> 49#include <sys/proc.h> 50#include <sys/resourcevar.h> 51 52#include <vm/vm.h> |
53#include <vm/swap_pager.h> |
|
53 | 54 |
54extern int swap_pager_full; 55 | |
56struct obreak_args { 57 char *nsiz; 58}; 59 60/* ARGSUSED */ 61int 62obreak(p, uap, retval) 63 struct proc *p; --- 48 unchanged lines hidden --- | 55struct obreak_args { 56 char *nsiz; 57}; 58 59/* ARGSUSED */ 60int 61obreak(p, uap, retval) 62 struct proc *p; --- 48 unchanged lines hidden --- |