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

From: H. Peter Anvin (hpa@zytor.com)
Date: Fri Jul 14 2000 - 13:50:45 EST


Followup to: <200007141605.MAA16616@tsx-prime.MIT.EDU>
By author: "Theodore Y. Ts'o" <tytso@MIT.EDU>
In newsgroup: linux.dev.kernel
>
> There is actually only one inflate.c at the moment in the Linux 2.2
> tree, although it's #include'd (I know, I know) in two places. One is
> 16-bit code used to decompress the kernel, and discarded once the kernel
> is loaded, and the other is used after the kernel has come up and is in
> 32-bit mode, to actually decompress the ramdisk. I set things up this
> way, when I was hacking on the compressed ramdisk code long ago.....
>

It isn't 16-bit code... it's 32-bit code (compiled with gcc!) run in
flat 32-bit mode with paging off.

     -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt

- 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 : Sat Jul 15 2000 - 21:00:20 EST