NetBSD-Bugs archive

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

Re: kern/46208: 6.0_BETA crash (uvm_unmap_remove -> pmap_remove_ptes -> pmap_remove_pte)

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

From: Aleksey Cheusov <>
Subject: Re: kern/46208: 6.0_BETA crash (uvm_unmap_remove -> pmap_remove_ptes
 -> pmap_remove_pte)
Date: Sun, 24 Jun 2012 18:24:00 +0300

 This problem was fixed by
 Module Name: =A0 =A0src
 Committed By: =A0 chs
 Date: =A0 =A0 =A0 =A0 =A0 Sun Jun 17 15:15:34 UTC 2012
 Modified Files:
 =A0 =A0 =A0 =A0src/sys/external/bsd/drm/dist/bsd-core: drm_bufs.c
 Log Message:
 when freeing the DRM_SHM kernel memory that can be mapped by a user process=
 remove any user mappings before freeing the memory, so that a user process
 doesn't have still have access to that physical memory after it's reused.
 this really shouldn't be using kernel malloc'd memory at all,
 but changing that would be much more involved.
 To generate a diff of this commit:
 cvs rdiff -u -r1.10 -r1.11 src/sys/external/bsd/drm/dist/bsd-core/drm_bufs.=
 I tested this change on netbsd-6 and could not find any problem.

Home | Main Index | Thread Index | Old Index