On 20.05.2017 02:02, Kamil Rytarowski wrote: > On 19.05.2017 17:30, Chuck Silvers wrote: >> Module Name: src >> Committed By: chs >> Date: Fri May 19 15:30:19 UTC 2017 >> >> Modified Files: >> src/sys/uvm: uvm_map.c uvm_mmap.c >> >> Log Message: >> make MAP_FIXED mapping operations atomic. fixes PR 52239. >> previously, unmapping any entries being replaced was done separately >> from entering the new mapping, which allowed another thread doing >> a non-MAP_FIXED mapping to allocate the range out from under the >> MAP_FIXED thread. >> >> >> To generate a diff of this commit: >> cvs rdiff -u -r1.346 -r1.347 src/sys/uvm/uvm_map.c >> cvs rdiff -u -r1.164 -r1.165 src/sys/uvm/uvm_mmap.c >> > > UVM broke after this commit. I cannot build packages due to random > memory corruptions. Processes die / files (at least executables) contain > trash. > > There are also users on IRC reporting the same behavior. > After recent changes the issues are gone. - src/sys/uvm/uvm_extern.h r.1.206 - src/sys/uvm/uvm_map.c r.1.349 - src/sys/uvm/uvm_mmap.c r.1.166 Thanks Chuck Silvers!
Attachment:
signature.asc
Description: OpenPGP digital signature