From owner-freebsd-toolchain@FreeBSD.ORG Sat Jan 12 23:04:42 2013 Return-Path: Delivered-To: toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0DA1A579; Sat, 12 Jan 2013 23:04:42 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) by mx1.freebsd.org (Postfix) with ESMTP id C9C91CF3; Sat, 12 Jan 2013 23:04:41 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id r0CN4ZVb081699 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 12 Jan 2013 15:04:35 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id r0CN4ZSM081698; Sat, 12 Jan 2013 15:04:35 -0800 (PST) (envelope-from jmg) Date: Sat, 12 Jan 2013 15:04:35 -0800 From: John-Mark Gurney To: David Xu Subject: Re: Fast sigblock (AKA rtld speedup) Message-ID: <20130112230435.GJ1410@funkthat.com> Mail-Followup-To: David Xu , Konstantin Belousov , arch@freebsd.org, toolchain@freebsd.org References: <20130107182235.GA65279@kib.kiev.ua> <50EBAA1F.9070303@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50EBAA1F.9070303@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Sat, 12 Jan 2013 15:04:35 -0800 (PST) Cc: arch@freebsd.org, toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jan 2013 23:04:42 -0000 David Xu wrote this message on Tue, Jan 08, 2013 at 13:09 +0800: > and can not be freed until process is exited, the page is doubly > mapped into in kernel and userland, accessing the shared data > in kernel has zero overhead though. Don't forget that there are arches out there w/ VIVT caches which will probably eliminate most of the performance benifits if we have the same page mapped writable in two different virtual addresses.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."