Re: [patch?] Re: Do ramdisk exec's map direct to buffer cache?

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Wed Aug 09 2000 - 18:34:32 EST


Alan Cox wrote:
> > Because of large shared library we'll use,
> > We want elf-based XIP binfmt.
> > Perhaps I'll work for it, but can't see the way.
>
> If you map the library into the page cache it will be there read only. ELF
> fixups will copy on write some pages into RAM.

Even that is avoided if you use pre-relocated ELF libraries, which I
hear someone was working on. (They can still be relocated, but have a
preferred load address where no pages need to be copied, and non-PIC
code in the library becomes efficient again).

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:19 EST