Deleted Added
full compact
vm_object.c (253189) vm_object.c (254025)
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

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

58 * rights to redistribute these changes.
59 */
60
61/*
62 * Virtual memory object module.
63 */
64
65#include <sys/cdefs.h>
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

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

58 * rights to redistribute these changes.
59 */
60
61/*
62 * Virtual memory object module.
63 */
64
65#include <sys/cdefs.h>
66__FBSDID("$FreeBSD: head/sys/vm/vm_object.c 253189 2013-07-11 05:47:26Z kib $");
66__FBSDID("$FreeBSD: head/sys/vm/vm_object.c 254025 2013-08-07 06:21:20Z jeff $");
67
68#include "opt_vm.h"
69
70#include <sys/param.h>
71#include <sys/systm.h>
72#include <sys/lock.h>
73#include <sys/mman.h>
74#include <sys/mount.h>

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

290 * without holding any references to it.
291 */
292 obj_zone = uma_zcreate("VM OBJECT", sizeof (struct vm_object), NULL,
293#ifdef INVARIANTS
294 vm_object_zdtor,
295#else
296 NULL,
297#endif
67
68#include "opt_vm.h"
69
70#include <sys/param.h>
71#include <sys/systm.h>
72#include <sys/lock.h>
73#include <sys/mman.h>
74#include <sys/mount.h>

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

290 * without holding any references to it.
291 */
292 obj_zone = uma_zcreate("VM OBJECT", sizeof (struct vm_object), NULL,
293#ifdef INVARIANTS
294 vm_object_zdtor,
295#else
296 NULL,
297#endif
298 vm_object_zinit, NULL, UMA_ALIGN_PTR, UMA_ZONE_VM|UMA_ZONE_NOFREE);
298 vm_object_zinit, NULL, UMA_ALIGN_PTR, UMA_ZONE_NOFREE);
299
300 vm_radix_init();
301}
302
303void
304vm_object_clear_flag(vm_object_t object, u_short bits)
305{
306

--- 2098 unchanged lines hidden ---
299
300 vm_radix_init();
301}
302
303void
304vm_object_clear_flag(vm_object_t object, u_short bits)
305{
306

--- 2098 unchanged lines hidden ---