Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2993153AbXEBTa7 (ORCPT ); Wed, 2 May 2007 15:30:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S2993158AbXEBTa7 (ORCPT ); Wed, 2 May 2007 15:30:59 -0400 Received: from iriserv.iradimed.com ([72.242.190.170]:63879 "EHLO iradimed.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1766663AbXEBTaf (ORCPT ); Wed, 2 May 2007 15:30:35 -0400 Message-ID: <4638E6E6.90206@cfl.rr.com> Date: Wed, 02 May 2007 15:30:46 -0400 From: Phillip Susi User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Hugh Dickins CC: =?UTF-8?B?QmrDtnJuIFN0ZWluYnJpbms=?= , Linux-kernel Subject: Re: Execute in place References: <4637B751.1080907@cfl.rr.com> <20070502143839.GA31961@atjola.homenet> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 02 May 2007 19:30:48.0741 (UTC) FILETIME=[632EF550:01C78CF0] X-TM-AS-Product-Ver: SMEX-7.2.0.1122-3.6.1039-15152.001 X-TM-AS-Result: No--8.768500-5.000000-31 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 788 Lines: 17 Hugh Dickins wrote: > tmpfs doesn't store its stuff in the page cache twice: that's true, > and I didn't mean to imply otherwise. But tmpfs doesn't contain any > support for rom memory: you'd have to copy from rom to tmpfs to use it. > > Hugh The question is, when you execute a binary on tmpfs, does its code segment get mapped directly where it's at in the buffer cache, or does it get copied to another page for the executing process? At least, assuming this is possible due to the vma and file offsets of the segment being aligned. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/