Deleted Added
full compact
vm_pager.c (46349) vm_pager.c (46580)
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 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
57 * School of Computer Science
58 * Carnegie Mellon University
59 * Pittsburgh PA 15213-3890
60 *
61 * any improvements or extensions that they make and grant Carnegie the
62 * rights to redistribute these changes.
63 *
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 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
57 * School of Computer Science
58 * Carnegie Mellon University
59 * Pittsburgh PA 15213-3890
60 *
61 * any improvements or extensions that they make and grant Carnegie the
62 * rights to redistribute these changes.
63 *
64 * $Id: vm_pager.c,v 1.45 1999/04/11 02:16:27 eivind Exp $
64 * $Id: vm_pager.c,v 1.46 1999/05/02 23:57:14 alc Exp $
65 */
66
67/*
68 * Paging space routine stubs. Emulates a matchmaker-like interface
69 * for builtin pagers.
70 */
71
72#include <sys/param.h>

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

535
536 nbp->b_chain.parent = bp;
537 ++bp->b_chain.count;
538
539 if (bp->b_chain.count > 4)
540 waitchainbuf(bp, 4, 0);
541
542 nbp->b_flags = B_BUSY | B_CALL | (bp->b_flags & B_ORDERED) | flags;
65 */
66
67/*
68 * Paging space routine stubs. Emulates a matchmaker-like interface
69 * for builtin pagers.
70 */
71
72#include <sys/param.h>

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

535
536 nbp->b_chain.parent = bp;
537 ++bp->b_chain.count;
538
539 if (bp->b_chain.count > 4)
540 waitchainbuf(bp, 4, 0);
541
542 nbp->b_flags = B_BUSY | B_CALL | (bp->b_flags & B_ORDERED) | flags;
543 nbp->b_proc = &proc0;
544 nbp->b_rcred = nbp->b_proc->p_ucred;
545 nbp->b_wcred = nbp->b_proc->p_ucred;
543 nbp->b_rcred = nbp->b_wcred = proc0.p_ucred;
546 nbp->b_iodone = vm_pager_chain_iodone;
547
548 crhold(nbp->b_rcred);
549 crhold(nbp->b_wcred);
550
551 if (vp)
552 pbgetvp(vp, nbp);
553 return(nbp);

--- 48 unchanged lines hidden ---
544 nbp->b_iodone = vm_pager_chain_iodone;
545
546 crhold(nbp->b_rcred);
547 crhold(nbp->b_wcred);
548
549 if (vp)
550 pbgetvp(vp, nbp);
551 return(nbp);

--- 48 unchanged lines hidden ---