CURRENT unusable again, too many panics
Alan Cox
alc at cs.rice.edu
Sun Oct 1 13:48:28 PDT 2006
Martin Blapp wrote:
>> Can you tell me what if anything is printed with the attached patch
>> applied?
>>
>
> Hi,
>
>> MFC
>> Correct a very old and very obscure bug: vmspace_fork() calls
>> pmap_copy() if the mapping is VM_INHERIT_SHARE. Suppose the mapping
>> is also wired. vmspace_fork() clears the wiring attributes in the vm
>> map entry but pmap_copy() copies the PG_W attribute in the PTE. I
>> don't think this is catastrophic. It blocks pmap_remove_pages() from
>> destroying the mapping and corrupts the pmap's wiring count.
>
>
> With or without this MFC applied ?
>
It won't matter. However, the patch will likely not apply cleanly with
the above change backed out simply due to the context being different.
Alan
More information about the freebsd-current
mailing list