lkml.org 
[lkml]   [2004]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Re: What File System supports Application XIP
Date

Hi,
How does ramfs offer application XIP ability?
I mean, when the ramfs image is mounted and the application in it is
executed,
"exec", which is called by sh, should first copy every section of the
application to RAM and then jump to the text section.
How do I avoid the stage copying text section to RAM?

Thanks and regards,
Colin

----- Original Message -----
From: "Arjan van de Ven" <arjanv@redhat.com>
To: "colin" <colin@realtek.com.tw>
Cc: <linux-kernel@vger.kernel.org>
Sent: Thursday, September 09, 2004 5:18 PM
Subject: Re: What File System supports Application XIP

> On Thu, 2004-09-09 at 10:55, colin wrote:
> > Hi there,
> > We are developing embedded Linux system. Performance is our
consideration.
> > We hope some applications can run as fast as possible,

> well ramfs by definition is XIP :)

> but I guess the filesystem comes from flash somewhere at which point
> jffs2 with compression might be a better choice; if you have enough ram
> then the apps run from the pagecache anyway and compression keeps you
> from transfering too much data from the slower flash. It's not XIP but I
> don't think you really want XIP...


-
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/

\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.117 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site