[lkml]   [2002]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: question about running program from a RAM disk
Followup to:  <01bc01c1c0a6$a3c315e0$>
By author: "Hua Zhong" <>
In newsgroup:
> In the final system we are going to turn off swap. I had dreamed that Linux
> could directly use the page frame on the RAM disk instead of doing another
> copy :-)

However, the reply you got was completely irrelevant; he didn't answer
your question at all (even though he probably thought.)

The answer to your question is that a ramdisk lives directly in the
block cache and does not have to be copied.

You may want to consider migrating to a ramfs or tmpfs, which lives
directly in the *page* cache and therefore reduces overhead further.

<> at work, <> in private!
"Unix gives you enough rope to shoot yourself in the foot." <>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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