Deleted Added
full compact
default_pager.c (69972) default_pager.c (76827)
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

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

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 *
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

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

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 69972 2000-12-13 10:01:00Z tanimura $
39 * $FreeBSD: head/sys/vm/default_pager.c 76827 2001-05-19 01:28:09Z alfred $
40 */
41
42#include <sys/param.h>
43#include <sys/systm.h>
40 */
41
42#include <sys/param.h>
43#include <sys/systm.h>
44#include <sys/lock.h>
45#include <sys/mutex.h>
44
45#include <vm/vm.h>
46#include <vm/vm_object.h>
47#include <vm/vm_page.h>
48#include <vm/vm_pager.h>
49#include <vm/vm_zone.h>
50#include <vm/swap_pager.h>
51

--- 108 unchanged lines hidden ---
46
47#include <vm/vm.h>
48#include <vm/vm_object.h>
49#include <vm/vm_page.h>
50#include <vm/vm_pager.h>
51#include <vm/vm_zone.h>
52#include <vm/swap_pager.h>
53

--- 108 unchanged lines hidden ---