Module Name: src Committed By: ad Date: Sun Jan 12 13:01:12 UTC 2020
Modified Files: src/sys/arch/x86/include: pmap.h pmap_pv.h src/sys/arch/x86/x86: pmap.c vm_machdep.c x86_tlb.c Log Message: x86 pmap: - It turns out that every page the pmap frees is necessarily zeroed. Tell the VM system about this and use the pmap as a source of pre-zeroed pages. - Redo deferred freeing of PTPs more elegantly, including the integration with pmap_remove_all(). This fixes problems with nvmm, and possibly also a crash discovered during fuzzing. Reported-by: syzbot+a97186518c84f1d85...@syzkaller.appspotmail.com To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109 src/sys/arch/x86/include/pmap.h cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x86/include/pmap_pv.h cvs rdiff -u -r1.354 -r1.355 src/sys/arch/x86/x86/pmap.c cvs rdiff -u -r1.39 -r1.40 src/sys/arch/x86/x86/vm_machdep.c cvs rdiff -u -r1.13 -r1.14 src/sys/arch/x86/x86/x86_tlb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.