Deleted Added
full compact
vm_object.c (108676) vm_object.c (109623)
1/*
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * The Mach Operating System project at Carnegie-Mellon University.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 47 unchanged lines hidden (view full) ---

56 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
57 * School of Computer Science
58 * Carnegie Mellon University
59 * Pittsburgh PA 15213-3890
60 *
61 * any improvements or extensions that they make and grant Carnegie the
62 * rights to redistribute these changes.
63 *
1/*
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * The Mach Operating System project at Carnegie-Mellon University.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 47 unchanged lines hidden (view full) ---

56 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
57 * School of Computer Science
58 * Carnegie Mellon University
59 * Pittsburgh PA 15213-3890
60 *
61 * any improvements or extensions that they make and grant Carnegie the
62 * rights to redistribute these changes.
63 *
64 * $FreeBSD: head/sys/vm/vm_object.c 108676 2003-01-04 19:23:19Z alc $
64 * $FreeBSD: head/sys/vm/vm_object.c 109623 2003-01-21 08:56:16Z alfred $
65 */
66
67/*
68 * Virtual memory object module.
69 */
70
71#include <sys/param.h>
72#include <sys/systm.h>

--- 275 unchanged lines hidden (view full) ---

348/*
349 * vm_object_allocate:
350 *
351 * Returns a new object with the given size.
352 */
353vm_object_t
354vm_object_allocate(objtype_t type, vm_pindex_t size)
355{
65 */
66
67/*
68 * Virtual memory object module.
69 */
70
71#include <sys/param.h>
72#include <sys/systm.h>

--- 275 unchanged lines hidden (view full) ---

348/*
349 * vm_object_allocate:
350 *
351 * Returns a new object with the given size.
352 */
353vm_object_t
354vm_object_allocate(objtype_t type, vm_pindex_t size)
355{
356 return(vm_object_allocate_wait(type, size, M_WAITOK));
356 return(vm_object_allocate_wait(type, size, 0));
357}
358
359
360/*
361 * vm_object_reference:
362 *
363 * Gets another reference to the given object.
364 */

--- 1863 unchanged lines hidden ---
357}
358
359
360/*
361 * vm_object_reference:
362 *
363 * Gets another reference to the given object.
364 */

--- 1863 unchanged lines hidden ---