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

Jamie Lokier (lk@tantalophile.demon.co.uk)
Thu, 10 Aug 2000 01:34:32 +0200


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/