Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12857 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13194 invoked by uid 1010); 16 Sep 2004 10:39:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 13121 invoked from network); 16 Sep 2004 10:39:41 -0000 Received: from unknown (HELO chatserv.de) (217.160.175.43) by pb1.pair.com with SMTP; 16 Sep 2004 10:39:41 -0000 Received: (qmail 23135 invoked by uid 1040); 16 Sep 2004 10:39:40 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 16 Sep 2004 10:39:40 -0000 Date: Thu, 16 Sep 2004 12:39:39 +0200 (CEST) X-X-Sender: sas@chatserv To: Joe Orton cc: internals@lists.php.net In-Reply-To: <20040916101531.GA6809@redhat.com> Message-ID: References: <20040916093900.GA6842@redhat.com> <20040916101531.GA6809@redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux} From: sascha@schumann.cx (Sascha Schumann) > My understanding is that a single DSO on disk can be "shared" between > two instances, but the text sections of such will not be shared in > physical RAM between two instances which load it, because the code will > get fixed up and hence copied-on-write. Is that not the case? That is the correct understanding. > So the trade-off for the default is between a performance hit in, I'd > say, by far the the normal case (running a single Apache instance), or a > memory hit in the less common case of running >1 instance concurrently. The point is that the current behaviour needs to be retained for installations which would be negatively affected by your patch. Building non-PIC as default is ok, if a switch is provided to build PIC. - Sascha