From owner-freebsd-emulation@FreeBSD.ORG Fri Feb 27 16:47:04 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DE63106564A for ; Fri, 27 Feb 2009 16:47:04 +0000 (UTC) (envelope-from lwindschuh@googlemail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.229]) by mx1.freebsd.org (Postfix) with ESMTP id 356C48FC15 for ; Fri, 27 Feb 2009 16:47:03 +0000 (UTC) (envelope-from lwindschuh@googlemail.com) Received: by rv-out-0506.google.com with SMTP id f6so1163590rvb.43 for ; Fri, 27 Feb 2009 08:47:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=2faiO2vxB8hNgpWaZUaPYxMtbLjH1+7+yle2jfMFXaQ=; b=PU8DQ6XMBeHZkD2ItRTBx8Ljek3veo1BMUK/2owGwIhOGL3bDG1bMfqt3yGl4+USYE D/yVo0n0Znh7LhnAkDFKFhN7rDfUu7OEfm1M5gmsY1wVJgBVN8w2UNAwQS2FJPSN++Jn wuKvXPbyi7y3pydh4Xfdg3Jmpv9FhHnc+AKws= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=owsD2RF62SYooBhhwRWepzjun/+JDoIr6RsLuvv6XDbBhYRRvJIJ3Ju8/jT5C0vxvh bxRfw6QBRX+2mJtewYgeNfo9ORLxDj9yVv86H1V1BNwTe6pNIRFw0nbMXEpX0hkTQC8m BpUj5teS7tAnmI9GOdhSLqV2Kunt92VYXiipw= MIME-Version: 1.0 Received: by 10.140.247.13 with SMTP id u13mr1271064rvh.288.1235751772565; Fri, 27 Feb 2009 08:22:52 -0800 (PST) Date: Fri, 27 Feb 2009 17:22:52 +0100 Message-ID: <90a5caac0902270822t5740dea4l9e9fa5cda2bada48@mail.gmail.com> From: Lucius Windschuh To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] futexes / now: duplicate lock of same type X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 16:47:04 -0000 2009/2/10 Chagin Dmitry : >> > please, try http://lnxx64.googlecode.com/files/futexes_partial_II.patch >> > first patch fail at i386... I am using your patch and Flash got a bit faster. :-) But witness reported this when I start my opera and load mail.google.com: acquiring duplicate lock of same type: "futex lock" 1st futex lock @ /usr/src/sys/modules/linux/../../compat/linux/linux_futex.c:179 2nd futex lock @ /usr/src/sys/modules/linux/../../compat/linux/linux_futex.c:211 KDB: stack backtrace: db_trace_self_wrapper(c09b535c,eb1d7b50,c06da5a5,4,c09b0871,...) at db_trace_self_wrapper+0x26 kdb_backtrace(4,c09b0871,c0d62685,c6112d88,eb1d7bac,...) at kdb_backtrace+0x29 _witness_debugger(c09b7f74,c0d626e7,c0d62685,d3,c09ab01b,...) at _witness_debugger+0x25 witness_checkorder(c7526b80,9,c0d62685,d3,0,...) at witness_checkorder+0x469 _sx_xlock(c7526b80,0,c0d62685,d3,0,...) at _sx_xlock+0x85 futex_get0(0,0,102,c7526b80,0,...) at futex_get0+0x28c futex_get_op(eb1d7c44,eb1d7c58,c068ba4c,c770f088,4,...) at futex_get_op+0x93 linux_sys_futex(c77336c0,eb1d7cf8,eb1d7d18,eb1d7d1c,c0d65b20,...) at linux_sys_futex+0x6a syscall(eb1d7d38) at syscall+0x283 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (240, Linux ELF, linux_sys_futex), eip = 0x28cd69b3, esp = 0xbfbfde6c, ebp = 0x4000001 --- Is this message potentially harmful? More information can be gathered on request (e.g. textdump with a custom ddb script). Regards Lucius