Re: svn commit: r249277 - head/sys/kern

2013-04-09 Thread Attilio Rao
On Tue, Apr 9, 2013 at 5:32 PM, Konstantin Belousov  wrote:
> On Mon, Apr 08, 2013 at 07:58:32PM +, Attilio Rao wrote:
>> Author: attilio
>> Date: Mon Apr  8 19:58:32 2013
>> New Revision: 249277
>> URL: http://svnweb.freebsd.org/changeset/base/249277
>>
>> Log:
>>   Switch some "low-hanging fruit" to acquire read lock on vmobjects
>>   rather than write locks.
>
> Could you, please, change the assertion types for object page accessors,
> like vm_page_lookup(), as the first step ?

This is going to happen pretty soon.
Alan and I have some code that depends on such assertions changing and
we want to do it in structured way.

Attilio


--
Peace can only be achieved by understanding - A. Einstein
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


Re: svn commit: r249277 - head/sys/kern

2013-04-09 Thread Konstantin Belousov
On Mon, Apr 08, 2013 at 07:58:32PM +, Attilio Rao wrote:
> Author: attilio
> Date: Mon Apr  8 19:58:32 2013
> New Revision: 249277
> URL: http://svnweb.freebsd.org/changeset/base/249277
> 
> Log:
>   Switch some "low-hanging fruit" to acquire read lock on vmobjects
>   rather than write locks.

Could you, please, change the assertion types for object page accessors,
like vm_page_lookup(), as the first step ?

For the out-of-tree code, which is going to be committed later,
this would make life easier.


pgptob7A_mzKp.pgp
Description: PGP signature