device_pager.c (99849) | device_pager.c (109623) |
---|---|
1/* 2 * Copyright (c) 1990 University of Utah. 3 * Copyright (c) 1991, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * the Systems Programming Group of the University of Utah Computer 8 * Science Department. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)device_pager.c 8.1 (Berkeley) 6/11/93 | 1/* 2 * Copyright (c) 1990 University of Utah. 3 * Copyright (c) 1991, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * the Systems Programming Group of the University of Utah Computer 8 * Science Department. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)device_pager.c 8.1 (Berkeley) 6/11/93 |
39 * $FreeBSD: head/sys/vm/device_pager.c 99849 2002-07-12 02:55:55Z alc $ | 39 * $FreeBSD: head/sys/vm/device_pager.c 109623 2003-01-21 08:56:16Z alfred $ |
40 */ 41 42#include <sys/param.h> 43#include <sys/systm.h> 44#include <sys/conf.h> 45#include <sys/lock.h> 46#include <sys/proc.h> 47#include <sys/mutex.h> --- 213 unchanged lines hidden (view full) --- 261} 262 263static vm_page_t 264dev_pager_getfake(paddr) 265 vm_offset_t paddr; 266{ 267 vm_page_t m; 268 | 40 */ 41 42#include <sys/param.h> 43#include <sys/systm.h> 44#include <sys/conf.h> 45#include <sys/lock.h> 46#include <sys/proc.h> 47#include <sys/mutex.h> --- 213 unchanged lines hidden (view full) --- 261} 262 263static vm_page_t 264dev_pager_getfake(paddr) 265 vm_offset_t paddr; 266{ 267 vm_page_t m; 268 |
269 m = uma_zalloc(fakepg_zone, M_WAITOK); | 269 m = uma_zalloc(fakepg_zone, 0); |
270 271 m->flags = PG_BUSY | PG_FICTITIOUS; 272 m->valid = VM_PAGE_BITS_ALL; 273 m->dirty = 0; 274 m->busy = 0; 275 m->queue = PQ_NONE; 276 m->object = NULL; 277 --- 15 unchanged lines hidden --- | 270 271 m->flags = PG_BUSY | PG_FICTITIOUS; 272 m->valid = VM_PAGE_BITS_ALL; 273 m->dirty = 0; 274 m->busy = 0; 275 m->queue = PQ_NONE; 276 m->object = NULL; 277 --- 15 unchanged lines hidden --- |