From owner-freebsd-emulation@FreeBSD.ORG Fri Feb 6 11:21:17 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 407E0106564A; Fri, 6 Feb 2009 11:21:17 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id BD5618FC29; Fri, 6 Feb 2009 11:21:16 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2EB9A.dip.t-dialin.net [217.226.235.154]) by redbull.bpaserver.net (Postfix) with ESMTP id C78BC2E2D9; Fri, 6 Feb 2009 12:21:07 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 4BE97131FFD; Fri, 6 Feb 2009 12:21:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1233919264; bh=l27DBLQXLlWlawMhzLTId0n9z+epCwnx1 KZgQJzbamU=; h=Message-ID:Date:From:To:Cc:Subject:References: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=JzHJypsanTwW8Wiwq5IBTvhwk+eLl9xf0AcMgt6LWMVGRy2cD+g8cAzgDz7QlCsen odJQyE2ZAG9bZyjTeuOi0+vI3kZ521lhgpH1hnm+t4xYWh7Ou6wazXjhZYU7/LB8mpQ WH0pQiAtxn1H3bJR+l/nN7iY1HSIgJmf30BBebO0YXMoZv6V+lF+kNwhAsq1JavTvBZ mVjjv584HrOBCO9IMJDlbVOxBWGy/4FO2ySz0/y7YGH8Q/zpzuirG5coo3dZ722glOC hnQ9LzE2XElftoYHXcjzi+XyjpJQYjLCn/eGFwlh4eHBocF5IPLV1MAzxw2sr2SaLxy aPN1vTKzw== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id n16BL36N061917; Fri, 6 Feb 2009 12:21:03 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Fri, 06 Feb 2009 12:21:03 +0100 Message-ID: <20090206122103.9886475rqvyhdt2c@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 06 Feb 2009 12:21:03 +0100 From: Alexander Leidinger To: Kostik Belousov References: <20081221174939.GA33531@dchagin.dialup.corbina.ru> <747dc8f30902050220y7b1d726bj9f6f83afa843b520@mail.gmail.com> <20090206063550.GA2123@dchagin.static.corbina.ru> <20090206094728.10822rj93nm7s280@webmail.leidinger.net> <20090206092821.GM9427@deviant.kiev.zoral.com.ua> In-Reply-To: <20090206092821.GM9427@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.3) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: C78BC2E2D9.523E6 X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-13.504, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org, Chagin Dmitry Subject: Re: [PATCH] futexes, flash9 related 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, 06 Feb 2009 11:21:17 -0000 Quoting Kostik Belousov (from Fri, 6 Feb 2009 =20 11:28:21 +0200): > On Fri, Feb 06, 2009 at 09:47:28AM +0100, Alexander Leidinger wrote: >> Quoting Chagin Dmitry (from Fri, 6 Feb 2009 >> 09:35:50 +0300): >> >> >On Thu, Feb 05, 2009 at 08:20:13AM -0200, Renato Botelho wrote: >> >>On Sun, Dec 21, 2008 at 3:49 PM, Chagin Dmitry >> >>wrote: >> >>> >> >>> Hi, >> >>> /me ready to present patches for testing (nor review). >> >>> >> >>> The primary goal - the futexes code is rewrited, Giant removed. >> >>> >> >>> head: http://people.freebsd.org/~timur/dchagin/mega-head.linux.patch >> >>> stable/7: http://people.freebsd.org/~timur/dchagin/mega-st7.linux.pat= ch >> >>> >> >>> Please, test and report any problems. thnx! >> >> >> >>Hello, >> >> >> >>I would like to test this because i'm having some freezes on >> >>firefox3 + flash9 + 8.0-current i386 r188003 but the patch >> >>doesn't apply cleanly here, is there a new version that i've >> >>missed? >> >> >> > >> >hi, >> >try http://lnxx64.googlecode.com/files/futexes_partial.patch >> >> Please let the DEBUG part as it is, I'm in the process of converting >> it to DTrace >> (http://svnweb.freebsd.org/viewvc/base/user/netchild/linuxulator-dtrace/)= . > > DTrace is absolutely unsuitable for getting the _traces_ from the kernel, > as well as the kernel printfs. Moreover, use of KTR is in-line with other > tracing points in *our* kernel. Could you please be more specific (maybe some examples) about what you =20 mean by "unsuitable"? Maybe I have a different understanding of =20 "traces" than you have. For the places where KTR is used in _this =20 patch_, DTrace seems to be suitable to me. AFAIR KTR needs to be specially enabled at compile time, while DTrace =20 can be enabled at run-time. Is the KTR part correct? If yes, I see a =20 benefit in using DTrace instead of KTR. Apart from that, DTrace has =20 some advantages (DTrace scripts, limiting the tracing to just use =20 within a specific application, conditional tracing, ...) over KTR, so =20 if it is not something performance critical where DTrace is not able =20 to handle it but KTR is, or something which DTrace is not able to =20 handle at all, I see no point in not converting to DTrace (it has the =20 advantage that it can be used even on a production system, where I =20 wouldn't let KTR in the kernel on a production system). Bye, Alexander. --=20 BOFH excuse #170: popper unable to process jumbo kernel http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137