Deleted Added
full compact
vm_kern.c (118317) vm_kern.c (118764)
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

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

62 * rights to redistribute these changes.
63 */
64
65/*
66 * Kernel memory management.
67 */
68
69#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

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

62 * rights to redistribute these changes.
63 */
64
65/*
66 * Kernel memory management.
67 */
68
69#include <sys/cdefs.h>
70__FBSDID("$FreeBSD: head/sys/vm/vm_kern.c 118317 2003-08-01 19:51:43Z alc $");
70__FBSDID("$FreeBSD: head/sys/vm/vm_kern.c 118764 2003-08-11 05:51:51Z silby $");
71
72#include <sys/param.h>
73#include <sys/systm.h>
74#include <sys/kernel.h> /* for ticks and hz */
75#include <sys/lock.h>
76#include <sys/mutex.h>
77#include <sys/proc.h>
78#include <sys/malloc.h>

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

84#include <vm/vm_object.h>
85#include <vm/vm_page.h>
86#include <vm/vm_pageout.h>
87#include <vm/vm_extern.h>
88
89vm_map_t kernel_map=0;
90vm_map_t kmem_map=0;
91vm_map_t exec_map=0;
71
72#include <sys/param.h>
73#include <sys/systm.h>
74#include <sys/kernel.h> /* for ticks and hz */
75#include <sys/lock.h>
76#include <sys/mutex.h>
77#include <sys/proc.h>
78#include <sys/malloc.h>

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

84#include <vm/vm_object.h>
85#include <vm/vm_page.h>
86#include <vm/vm_pageout.h>
87#include <vm/vm_extern.h>
88
89vm_map_t kernel_map=0;
90vm_map_t kmem_map=0;
91vm_map_t exec_map=0;
92vm_map_t pipe_map;
92vm_map_t clean_map=0;
93vm_map_t buffer_map=0;
94
95/*
96 * kmem_alloc_pageable:
97 *
98 * Allocate pageable memory to the kernel's address map.
99 * "map" must be kernel_map or a submap of kernel_map.

--- 436 unchanged lines hidden ---
93vm_map_t clean_map=0;
94vm_map_t buffer_map=0;
95
96/*
97 * kmem_alloc_pageable:
98 *
99 * Allocate pageable memory to the kernel's address map.
100 * "map" must be kernel_map or a submap of kernel_map.

--- 436 unchanged lines hidden ---