Deleted Added
full compact
default_pager.c (92748) default_pager.c (116226)
1/*
2 * Copyright (c) 1995, David Greenman
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

30 *
31 * The default pager is responsible for supplying backing store to unbacked
32 * storage. The backing store is usually swap so we just fall through to
33 * the swap routines. However, since swap metadata has not been assigned,
34 * the swap routines assign and manage the swap backing store through the
35 * vm_page->swapblk field. The object is only converted when the page is
36 * physically freed after having been cleaned and even then vm_page->swapblk
37 * is maintained whenever a resident page also has swap backing store.
1/*
2 * Copyright (c) 1995, David Greenman
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

30 *
31 * The default pager is responsible for supplying backing store to unbacked
32 * storage. The backing store is usually swap so we just fall through to
33 * the swap routines. However, since swap metadata has not been assigned,
34 * the swap routines assign and manage the swap backing store through the
35 * vm_page->swapblk field. The object is only converted when the page is
36 * physically freed after having been cleaned and even then vm_page->swapblk
37 * is maintained whenever a resident page also has swap backing store.
38 *
39 * $FreeBSD: head/sys/vm/default_pager.c 92748 2002-03-20 04:02:59Z jeff $
40 */
41
38 */
39
40#include <sys/cdefs.h>
41__FBSDID("$FreeBSD: head/sys/vm/default_pager.c 116226 2003-06-11 23:50:51Z obrien $");
42
42#include <sys/param.h>
43#include <sys/systm.h>
44#include <sys/lock.h>
45#include <sys/proc.h>
46#include <sys/mutex.h>
47
48#include <vm/vm.h>
49#include <vm/vm_object.h>

--- 108 unchanged lines hidden ---
43#include <sys/param.h>
44#include <sys/systm.h>
45#include <sys/lock.h>
46#include <sys/proc.h>
47#include <sys/mutex.h>
48
49#include <vm/vm.h>
50#include <vm/vm_object.h>

--- 108 unchanged lines hidden ---