From owner-svn-src-all@FreeBSD.ORG Wed Aug 14 13:57:27 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6334BD1B; Wed, 14 Aug 2013 13:57:27 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 356172CA3; Wed, 14 Aug 2013 13:57:27 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 16CDDB95B; Wed, 14 Aug 2013 09:57:26 -0400 (EDT) From: John Baldwin To: David Chisnall Subject: Re: svn commit: r253802 - head/contrib/llvm/tools/clang/lib/Headers Date: Wed, 14 Aug 2013 08:21:50 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p28; KDE/4.5.5; amd64; ; ) References: <201307301233.r6UCXLT8012177@svn.freebsd.org> <20130813205736.GA68244@stack.nl> <2A4F32C7-939D-4C4D-A136-D99FC06C486E@FreeBSD.org> In-Reply-To: <2A4F32C7-939D-4C4D-A136-D99FC06C486E@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201308140821.50565.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 14 Aug 2013 09:57:26 -0400 (EDT) Cc: Matthew Fleming , "src-committers@FreeBSD.org" , Jilles Tjoelker , "svn-src-all@FreeBSD.org" , Dimitry Andric , "svn-src-head@FreeBSD.org" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 13:57:27 -0000 On Wednesday, August 14, 2013 4:23:11 am David Chisnall wrote: > On 13 Aug 2013, at 21:57, Jilles Tjoelker wrote: > > > Given that JIT is for performance and larger addresses increase code > > size and register pressure, the mmap() flag is probably useful. > > Alternatively, all the JITted code could be placed in one block and use > > relative addressing. > > This would be a good thing to have in for 10.0, as the LLVM 3.4 JIT will > require it unless someone wants to contribute support for the large code > model... So you just need a flag to cap the virtual address at 2GB? Do you think we need an arbitrary address flag for this, or is a hardcoded 2GB flag ok? Linux has a MAP_32BIT that does what you want I think. -- John Baldwin