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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to