Last active
August 29, 2015 14:17
-
-
Save jeamland/eff6ae0888e5d948c629 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: sys/kern/vfs_bio.c | |
=================================================================== | |
--- sys/kern/vfs_bio.c (revision 280152) | |
+++ sys/kern/vfs_bio.c (working copy) | |
@@ -3611,6 +3611,7 @@ | |
bp->bio_flags |= BIO_UNMAPPED; | |
start = trunc_page((vm_offset_t)bp->bio_data); | |
end = round_page((vm_offset_t)bp->bio_data + bp->bio_length); | |
+ bp->bio_data = unmapped_buf; | |
pmap_qremove(start, OFF_TO_IDX(end - start)); | |
vmem_free(transient_arena, start, end - start); | |
atomic_add_int(&inflight_transient_maps, -1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment