Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Apr 2015 10:47:03 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        alc@FreeBSD.org, Gleb Smirnoff <glebius@FreeBSD.org>, current@freebsd.org
Subject:   Re: panic: Lock vm object not exclusively locked @ /usr/src/sys/vm/vm_page.c:2637
Message-ID:  <20150405174703.GD1197@albert.catwhisker.org>
In-Reply-To: <20150405173723.GR2379@kib.kiev.ua>
References:  <20150405133758.GA40261@albert.catwhisker.org> <20150405154721.GO64665@FreeBSD.org> <20150405173723.GR2379@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

--6Nae48J/T25AfBN4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Apr 05, 2015 at 08:37:23PM +0300, Konstantin Belousov wrote:
> On Sun, Apr 05, 2015 at 06:47:21PM +0300, Gleb Smirnoff wrote:
> > This is r281079.
> >=20
> > Since vm_page_advise() may call vm_page_dirty() in the MADV_DONTNEED ca=
se,
> > the assertion is valid. So, looks like vm_fault_dontneed() needs W-lock=
 on
> > the first_object.
> >=20
> Either this, or vm_page_advise() could be changed to do nothing in the
> case of MADV_DONTNEED operation and a need to call vm_page_dirty(), if
> the object is only read-locked.

I have since managed to build & (successfully) boot:

s3:FreeBSD g1-254.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0  r281=
106M/281106:1100067: Sun Apr  5 09:57:39 PDT 2015     root@g1-254.catwhiske=
r.org:/common/S3/obj/usr/src/sys/CANARY  amd64

So I'm about to try re-building the i386 head (and be sure that
it's quite "clean" in the process).  (I had seen the panic for i386
twice out of two attempts, so I'm reasonably certain it wasn't a
fluke.  But it could be something "weird" in my head/i386 environment,
as that is the only one where I've had a problem with today's builds
& smoke-tests.  I'm using both i386 & amd64, and both stable/10 and
head -- 4 combinations; one for each of 4 slices on the same
hardware.)

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Those who murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--6Nae48J/T25AfBN4
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJVIXUWXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4
QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7ZIUP/j5LmM1NE+juL24GrxccDcAy
lwgwgTm2eAbOGy6w43UyasKfRktmP9AvJmb4S7a147VArRkGSfLcIdnGy6y10BW0
+HR+bb0Q5mH09CIpz07WeFals3RbbcGd+kwXs3GDkRRKHil6soxfNd5oxtxgJwW8
nw3+iZ5MUWCNvjpQ/RTLpu6GxlKS+SygBRqzMNRLv5W22slQ4cJABP3Hpc52gX2m
6rKNsgK3qpAm7/53SDsBJZI+Of6zwCtK73d8A9a4vUI+cUezEc+63kERUjbbCZ/n
PiETn/Kzi1gbA8Cw8lUswdk+TiB6JeJb+nEx3GBNxekIso+hMyeekxXODrw3pKdL
LVMa0OPQ9mUEBgSxvaXA6gWNzQYAEnzDzMqJ2Pmt87yWuAUKA3xk8MCAxIPBmMXv
f4dId1EV/QPDKg0/Mm6pGDO+GlBFFFfXxXQNtqcOQX1tV4qOTq0itCqs1mnpSSoF
bjH9TPIhpf6YrsdNtwBm76hdd1d2tUp0YQF1YjKeoChoJLRNXWbN3NREXCIupxcQ
C9B2moyYYdjtXVXs9elD0CR3WGkipalF0RrjfFSkuA+Nt/Y2WBsCzhddIHCARkEL
Rq2L85V+fEeIOhYeIWIDt2VbwWH8RHc5xFJDr3NDFoFhXsHykE5VXmf2wcjX9PlA
Wj9CiAhBSt8Z1UePjyqK
=iPQU
-----END PGP SIGNATURE-----

--6Nae48J/T25AfBN4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150405174703.GD1197>