vfs_bio.c (c98bb15d01876b54224f52232cee5ba1b5b0ce6f) | vfs_bio.c (44f1c916109d4d88941d257b7c4c96c26ab55477) |
---|---|
1/*- 2 * Copyright (c) 2004 Poul-Henning Kamp 3 * Copyright (c) 1994,1997 John S. Dyson 4 * Copyright (c) 2013 The FreeBSD Foundation 5 * All rights reserved. 6 * 7 * Portions of this software were developed by Konstantin Belousov 8 * under sponsorship from the FreeBSD Foundation. --- 4276 unchanged lines hidden (view full) --- 4285 for (index = newnpages; index < bp->b_npages; index++) { 4286 p = bp->b_pages[index]; 4287 bp->b_pages[index] = NULL; 4288 if (vm_page_sbusied(p)) 4289 printf("vm_hold_free_pages: blkno: %jd, lblkno: %jd\n", 4290 (intmax_t)bp->b_blkno, (intmax_t)bp->b_lblkno); 4291 p->wire_count--; 4292 vm_page_free(p); | 1/*- 2 * Copyright (c) 2004 Poul-Henning Kamp 3 * Copyright (c) 1994,1997 John S. Dyson 4 * Copyright (c) 2013 The FreeBSD Foundation 5 * All rights reserved. 6 * 7 * Portions of this software were developed by Konstantin Belousov 8 * under sponsorship from the FreeBSD Foundation. --- 4276 unchanged lines hidden (view full) --- 4285 for (index = newnpages; index < bp->b_npages; index++) { 4286 p = bp->b_pages[index]; 4287 bp->b_pages[index] = NULL; 4288 if (vm_page_sbusied(p)) 4289 printf("vm_hold_free_pages: blkno: %jd, lblkno: %jd\n", 4290 (intmax_t)bp->b_blkno, (intmax_t)bp->b_lblkno); 4291 p->wire_count--; 4292 vm_page_free(p); |
4293 atomic_subtract_int(&cnt.v_wire_count, 1); | 4293 atomic_subtract_int(&vm_cnt.v_wire_count, 1); |
4294 } 4295 bp->b_npages = newnpages; 4296} 4297 4298/* 4299 * Map an IO request into kernel virtual address space. 4300 * 4301 * All requests are (re)mapped into kernel VA space. --- 316 unchanged lines hidden --- | 4294 } 4295 bp->b_npages = newnpages; 4296} 4297 4298/* 4299 * Map an IO request into kernel virtual address space. 4300 * 4301 * All requests are (re)mapped into kernel VA space. --- 316 unchanged lines hidden --- |