Deleted Added
full compact
md.c (221853) md.c (221855)
1/*-
2 * ----------------------------------------------------------------------------
3 * "THE BEER-WARE LICENSE" (Revision 42):
4 * <phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you
5 * can do whatever you want with this stuff. If we meet some day, and you think
6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7 * ----------------------------------------------------------------------------
8 *
1/*-
2 * ----------------------------------------------------------------------------
3 * "THE BEER-WARE LICENSE" (Revision 42):
4 * <phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you
5 * can do whatever you want with this stuff. If we meet some day, and you think
6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7 * ----------------------------------------------------------------------------
8 *
9 * $FreeBSD: head/sys/dev/md/md.c 221853 2011-05-13 18:48:00Z mdf $
9 * $FreeBSD: head/sys/dev/md/md.c 221855 2011-05-13 19:35:01Z mdf $
10 *
11 */
12
13/*-
14 * The following functions are based in the vn(4) driver: mdstart_swap(),
15 * mdstart_vnode(), mdcreate_swap(), mdcreate_vnode() and mddestroy(),
16 * and as such under the following copyright:
17 *

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

84
85#include <vm/vm.h>
86#include <vm/vm_object.h>
87#include <vm/vm_page.h>
88#include <vm/vm_pager.h>
89#include <vm/swap_pager.h>
90#include <vm/uma.h>
91
10 *
11 */
12
13/*-
14 * The following functions are based in the vn(4) driver: mdstart_swap(),
15 * mdstart_vnode(), mdcreate_swap(), mdcreate_vnode() and mddestroy(),
16 * and as such under the following copyright:
17 *

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

84
85#include <vm/vm.h>
86#include <vm/vm_object.h>
87#include <vm/vm_page.h>
88#include <vm/vm_pager.h>
89#include <vm/swap_pager.h>
90#include <vm/uma.h>
91
92#include <machine/vmparam.h>
93
92#define MD_MODVER 1
93
94#define MD_SHUTDOWN 0x10000 /* Tell worker thread to terminate. */
95#define MD_EXITING 0x20000 /* Worker thread is exiting. */
96
97#ifndef MD_NSECT
98#define MD_NSECT (10000 * 2)
99#endif

--- 1288 unchanged lines hidden ---
94#define MD_MODVER 1
95
96#define MD_SHUTDOWN 0x10000 /* Tell worker thread to terminate. */
97#define MD_EXITING 0x20000 /* Worker thread is exiting. */
98
99#ifndef MD_NSECT
100#define MD_NSECT (10000 * 2)
101#endif

--- 1288 unchanged lines hidden ---