Re: svn commit: r212281 - head/sys/vm

2010-09-14 Thread Kostik Belousov
On Tue, Sep 14, 2010 at 01:48:12AM -0500, Alan Cox wrote: > Kostik Belousov wrote: > >Did you noted the thread on current@ about r212281 ? The submitter > >claims that the rev. causes panics in unrelated code pathes when > >vnode_create_vobject() locks vm object lock. I cannot understand > >how thi

Re: svn commit: r212281 - head/sys/vm

2010-09-13 Thread Alan Cox
Kostik Belousov wrote: On Mon, Sep 13, 2010 at 12:30:29PM -0500, Alan Cox wrote: Kostik Belousov wrote: On Tue, Sep 07, 2010 at 12:23:45AM +, Ryan Stone wrote: Author: rstone Date: Tue Sep 7 00:23:45 2010 New Revision: 212281 URL: http://svn.freebsd.org/changeset/base/212

Re: svn commit: r212281 - head/sys/vm

2010-09-13 Thread Kostik Belousov
On Mon, Sep 13, 2010 at 12:30:29PM -0500, Alan Cox wrote: > Kostik Belousov wrote: > >On Tue, Sep 07, 2010 at 12:23:45AM +, Ryan Stone wrote: > > > >>Author: rstone > >>Date: Tue Sep 7 00:23:45 2010 > >>New Revision: 212281 > >>URL: http://svn.freebsd.org/changeset/base/212281 > >> > >>Log:

Re: svn commit: r212281 - head/sys/vm

2010-09-13 Thread Alan Cox
Kostik Belousov wrote: On Tue, Sep 07, 2010 at 12:23:45AM +, Ryan Stone wrote: Author: rstone Date: Tue Sep 7 00:23:45 2010 New Revision: 212281 URL: http://svn.freebsd.org/changeset/base/212281 Log: In munmap() downgrade the vm_map_lock to a read lock before taking a read lock on t

Re: svn commit: r212281 - head/sys/vm

2010-09-07 Thread Kostik Belousov
On Tue, Sep 07, 2010 at 12:23:45AM +, Ryan Stone wrote: > Author: rstone > Date: Tue Sep 7 00:23:45 2010 > New Revision: 212281 > URL: http://svn.freebsd.org/changeset/base/212281 > > Log: > In munmap() downgrade the vm_map_lock to a read lock before taking a read > lock on the pmc-sx loc

Re: svn commit: r212281 - head/sys/vm

2010-09-06 Thread Ryan Stone
On Mon, Sep 6, 2010 at 8:23 PM, Ryan Stone wrote: > +       if (pkm.pm_address != (uintptr) NULL) I have no idea how this snuck past me. I must have deleted some characters after building and testing this. I'll fix it as soon as I can track down one of my mentors, but if somebody wants to fix i

svn commit: r212281 - head/sys/vm

2010-09-06 Thread Ryan Stone
Author: rstone Date: Tue Sep 7 00:23:45 2010 New Revision: 212281 URL: http://svn.freebsd.org/changeset/base/212281 Log: In munmap() downgrade the vm_map_lock to a read lock before taking a read lock on the pmc-sx lock. This prevents a deadlock with pmc_log_process_mappings, which has an e