Re: Re: What File System supports Application XIP

From: Arjan van de Ven
Date: Thu Sep 09 2004 - 04:54:18 EST


On Thu, 2004-09-09 at 11:45, colin wrote:
> 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?

this is not how linux works. programs execute directly from the
pagecache without copy.

Attachment: signature.asc
Description: This is a digitally signed message part