Deleted Added
full compact
vm_glue.c (118234) vm_glue.c (118390)
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 * Carnegie Mellon University
57 * Pittsburgh PA 15213-3890
58 *
59 * any improvements or extensions that they make and grant Carnegie the
60 * rights to redistribute these changes.
61 */
62
63#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

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

56 * Carnegie Mellon University
57 * Pittsburgh PA 15213-3890
58 *
59 * any improvements or extensions that they make and grant Carnegie the
60 * rights to redistribute these changes.
61 */
62
63#include <sys/cdefs.h>
64__FBSDID("$FreeBSD: head/sys/vm/vm_glue.c 118234 2003-07-31 01:25:05Z peter $");
64__FBSDID("$FreeBSD: head/sys/vm/vm_glue.c 118390 2003-08-03 13:35:31Z phk $");
65
66#include "opt_vm.h"
67#include "opt_kstack_pages.h"
68#include "opt_kstack_max_pages.h"
69
70#include <sys/param.h>
71#include <sys/systm.h>
72#include <sys/limits.h>

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

348 pmap_qenter(up, ma, UAREA_PAGES);
349}
350
351/*
352 * Swap in the UAREAs of all processes swapped out to the given device.
353 * The pages in the UAREA are marked dirty and their swap metadata is freed.
354 */
355void
65
66#include "opt_vm.h"
67#include "opt_kstack_pages.h"
68#include "opt_kstack_max_pages.h"
69
70#include <sys/param.h>
71#include <sys/systm.h>
72#include <sys/limits.h>

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

348 pmap_qenter(up, ma, UAREA_PAGES);
349}
350
351/*
352 * Swap in the UAREAs of all processes swapped out to the given device.
353 * The pages in the UAREA are marked dirty and their swap metadata is freed.
354 */
355void
356vm_proc_swapin_all(int devidx)
356vm_proc_swapin_all(struct swdevt *devidx)
357{
358 struct proc *p;
359 vm_object_t object;
360 vm_page_t m;
361
362retry:
363 sx_slock(&allproc_lock);
364 FOREACH_PROC_IN_SYSTEM(p) {

--- 743 unchanged lines hidden ---
357{
358 struct proc *p;
359 vm_object_t object;
360 vm_page_t m;
361
362retry:
363 sx_slock(&allproc_lock);
364 FOREACH_PROC_IN_SYSTEM(p) {

--- 743 unchanged lines hidden ---