NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/53124 CVS commit: src/sys/uvm



The following reply was made to PR kern/53124; it has been noted by GNATS.

From: "Jaromir Dolecek" <jdolecek%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/53124 CVS commit: src/sys/uvm
Date: Sun, 9 Dec 2018 20:45:37 +0000

 Module Name:	src
 Committed By:	jdolecek
 Date:		Sun Dec  9 20:45:37 UTC 2018
 
 Modified Files:
 	src/sys/uvm: uvm_bio.c
 
 Log Message:
 for direct map case, avoid PGO_NOBLOCKALLOC when writing, it makes
 genfs_getpages() return unallocated pages using the zero page and
 PG_RDONLY; the old code relied on fault logic to get it allocated, which
 the direct case can't rely on
 
 instead just allocate the blocks right away; pass PGO_JOURNALLOCKED
 so that code wouldn't try to take wapbl lock, this code path is called
 with it already held
 
 this should fix KASSERT() due to PG_RDONLY on write with wapbl
 
 towards resolution of PR kern/53124
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.98 -r1.99 src/sys/uvm/uvm_bio.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index