svn commit: r284535 - head/sys/kern
John Baldwin
jhb at FreeBSD.org
Sat Jun 20 13:32:04 UTC 2015
On 6/17/15 11:07 PM, Konstantin Belousov wrote:
> On Thu, Jun 18, 2015 at 02:04:21AM +0000, Sean Bruno wrote:
>> Author: sbruno
>> Date: Thu Jun 18 02:04:20 2015
>> New Revision: 284535
>> URL: https://svnweb.freebsd.org/changeset/base/284535
>>
>> Log:
>> This change replaces the mutex with a sx lock for the interpreter list to
>> avoid the problem of holding a non-sleep lock during a page fault as
>> reported by witness. It also uses atomics where possible to avoid having
>> to acquire the exclusive lock. In addition, it consistently uses
>> memset()/memcpy() instead of bzero()/bcopy().
>>
>> Differential Revision: https://reviews.freebsd.org/D1971
>> Submitted by: sson
>> Reviewed by: jhb
> What are the page faults during image activator run ?
> Or, if the page faults are not during image activation, then where ?
It took me a while to figure out while reviewing, but the exec_map memory
is pageable, so the bcopy to move things around inside of it can fault.
--
John Baldwin
More information about the svn-src-all
mailing list