Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 2003 23:30:18 +0200
From:      Pawel Kraszewski <Pawel_Kraszewski@wp.pl>
To:        freebsd-questions@freebsd.org
Subject:   Re: Lock Order Reversal (5.1 CUR kern)
Message-ID:  <3F107DEA.2080609@wp.pl>
In-Reply-To: <20030710032006.V1031@metafocus.net>
References:  <20030710032006.V1031@metafocus.net>

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

[-- Attachment #1 --]
Hello!

    I have it too, after compiling kernel with debug info and spinlock 
witnessing. It does no harm, I guess...

>I get THIS *every* time I exit X-windows:
>
>
>lock order reversal
> 1st 0xc45f4b90 vm object (vm object) @ /usr/src/sys/vm/vm_object.c:432
> 2nd 0xc082f110 system map (system map) @ /usr/src/sys/vm/vm_kern.c:325
>Stack backtrace:
>backtrace(c057b35f,c082f110,c058cfb6,c058cfb6,c058ce51) at backtrace+0x17
>witness_lock(c082f110,8,c058ce51,145,0) at witness_lock+0x697
>_mtx_lock_flags(c082f110,0,c058ce51,145,3) at _mtx_lock_flags+0xb1
>_vm_map_lock(c082f0b0,c058ce51,145,dcc91ab0,c0378eb4) at _vm_map_lock+0x36
>kmem_malloc(c082f0b0,1000,101,dcc91b1c,c04c2cea) at kmem_malloc+0x39
>page_alloc(c083a1c0,1000,dcc91b0f,101,c05f1a2c) at page_alloc+0x27
>slab_zalloc(c083a1c0,101,c058e81a,664,c083a714) at slab_zalloc+0x14a
>uma_zone_slab(c083a1c0,101,c058e81a,664,0) at uma_zone_slab+0xd8
>uma_zalloc_internal(c083a1c0,0,101,6e8,0) at uma_zalloc_internal+0x55
>uma_zfree_arg(c083a700,c4854cf0,0,dcc91bc8,c04a9d08) at uma_zfree_arg+0x2e7
>dev_pager_putfake(c4854cf0,0,c058c5cf,be,c45f4b90) at dev_pager_putfake+0x3a
>dev_pager_dealloc(c45f4b90,1,c058e71d,10c,0) at dev_pager_dealloc+0xc8
>vm_pager_deallocate(c45f4b90,0,c058d8f3,25f,282c5000) at vm_pager_deallocate+0x3
>d
>vm_object_terminate(c45f4b90,0,c058d8f3,1b0,c45b44ec) at vm_object_terminate+0x1
>f4
>vm_object_deallocate(c45f4b90,c082cf00,c45f4b90,c082cf00,dcc91c9c) at vm_object_
>deallocate+0x377
>vm_map_entry_delete(c1528100,c082cf00,c058d024,8bc,c0576b6f) at vm_map_entry_del
>ete+0x3b
>vm_map_delete(c1528100,282c3000,282c5000,2000,282c3000) at vm_map_delete+0x3e3
>vm_map_remove(c1528100,282c3000,282c5000,0,c4563618) at vm_map_remove+0x58
>munmap(c4565130,dcc91d10,c0592c87,3fd,2) at munmap+0x9e
>syscall(30002f,2f,bfbf002f,8201ad0,1) at syscall+0x26e
>Xint0x80_syscall() at Xint0x80_syscall+0x1d
>--- syscall (73), eip = 0x28230d83, esp = 0xbfbff9ec, ebp = 0xbfbffa08 --
>  
>

[-- Attachment #2 --]
0	*H
010	+0	*H
00u!0
	*H
0>10	UPL10U
Unizeto Sp. z o.o.10U	Certum CA0
020712163153Z
120712163153Z0C10	UPL10U
Unizeto Sp. z o.o.10UCertum Level I00
	*H
0zY1\2ҠY+kR|J&0ղK|pSHhvif<"g$wV9˺h͸.s~>ܳ~-ix"@\S~Tg#e00U00
	*H
%
.Nh
ш&R3{oٮA
ӍK;NbX8-5urFAN6=r^^+$L^.zv9jFv?Ö2T{mC	ص52iU'v`44,ʩCq7nXJ%8R@z0`d1AxAbauDYcq׍$G5ҩBbMٷ`lЄ/ǜ~Z>0-00
	*H
0C10	UPL10U
Unizeto Sp. z o.o.10UCertum Level I0
030703212515Z
031001212515Z0a10	UPL10U
Private10UPawel Kraszewski1%0#	*H
	Pawel_Kraszewski@wp.pl0"0
	*H
0
{@&xu#lB3Sfl>X<)x50OiqfxVL4c	VO? /Ptz/?xol-]_72,gdNc׺nrؑ!5!-+qgll*zV(v$0V`_^tيCG
vg=vb%9Ju׭ӹdR[dgo;iA;0
C/ΐ700!U0Pawel_Kraszewski@wp.pl0	U000U)0'0%#!http://crl.certum.pl/class1.crl01+%0#0!+0http://ocsp.certum.pl0U 00
*hw00$+http://www.certum.pl/CPS0+00Unizeto Sp. z o.o.0xUsage of this certificate is strictly subjected to the Certum Certification
Practice Statement (CPS) incorporated by reference herein and in the Certum
Repository at https://www.certum.pl/repository.  This CPS is also available
by mail at Unizeto Sp. z o.o. 70-486 Szczecin, Krolowej Korony Polskiej 21, 
Poland. Copyright (c) 1998-2003 Unizeto Sp. z o.o. All Rights Reserved.0
	*H
)O(_8#]Vxf	چw%~
/笝1݋o'!Z	fl(?%s7uv;u͒*)Pvxh7Uji*i.BD=0-00
	*H
0C10	UPL10U
Unizeto Sp. z o.o.10UCertum Level I0
030703212515Z
031001212515Z0a10	UPL10U
Private10UPawel Kraszewski1%0#	*H
	Pawel_Kraszewski@wp.pl0"0
	*H
0
{@&xu#lB3Sfl>X<)x50OiqfxVL4c	VO? /Ptz/?xol-]_72,gdNc׺nrؑ!5!-+qgll*zV(v$0V`_^tيCG
vg=vb%9Ju׭ӹdR[dgo;iA;0
C/ΐ700!U0Pawel_Kraszewski@wp.pl0	U000U)0'0%#!http://crl.certum.pl/class1.crl01+%0#0!+0http://ocsp.certum.pl0U 00
*hw00$+http://www.certum.pl/CPS0+00Unizeto Sp. z o.o.0xUsage of this certificate is strictly subjected to the Certum Certification
Practice Statement (CPS) incorporated by reference herein and in the Certum
Repository at https://www.certum.pl/repository.  This CPS is also available
by mail at Unizeto Sp. z o.o. 70-486 Szczecin, Krolowej Korony Polskiej 21, 
Poland. Copyright (c) 1998-2003 Unizeto Sp. z o.o. All Rights Reserved.0
	*H
)O(_8#]Vxf	چw%~
/笝1݋o'!Z	fl(?%s7uv;u͒*)Pvxh7Uji*i.BD=100J0C10	UPL10U
Unizeto Sp. z o.o.10UCertum Level I0	+i0	*H
	1	*H
0	*H
	1
030712213018Z0#	*H
	1QGͥ9oL̡cn0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0Y	+71L0J0C10	UPL10U
Unizeto Sp. z o.o.10UCertum Level I0[*H
	1LJ0C10	UPL10U
Unizeto Sp. z o.o.10UCertum Level I0
	*H
Kf1sG!Bw 1FU`s`:ؼwjwWLklo;ȁbOZnݹ(zMXY##;"H'-9j&e8GY7ɋfbejvOkˢ4J01F=?)R?+&a K+F"7Kîx'keJ7T*&ȧj>T>/nAH=
2/yDG5gi{P

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