I'm trying to create a ram disk which is not erased by reboot, for instance, if i have 512M ram, i want to do mem=500m and use the remaining 12m for ramdisk.
I have already written the kernel module for it, but the problem is that when i access the upper 12m with __pa(addr), i get a kernel oops ... any idea ? regards erez. Nadav Har'El wrote: > On Mon, Jan 21, 2002, Erez Doron wrote about "kernel mem use": > > does anyone knows of a way to make the kernel not use all the memory it > > has, but still be aware of it ? > > What does it mean, be aware of memory but not use it? If the kernel "does > not use" a section of memory, then it is also not made available for > applications' use, and it's the same as just using the mem=.. parameter > and telling the kernel not to see part of the memory in the first place. > > If you're worried that the kernel will make use of *all* extra memory for > "silly" things like caching copies of disk files, and stuff like that - well, > you shouldn't worry; When the memory is really needed for actual malloc()s > and stuff like that, it will be reclaimed (or at least it should, if the VM > system is working properly). > > Or maybe I don't exactly understand what you're trying to do. > > -- > Nadav Har'El | Monday, Jan 21 2002, 8 Shevat 5762 > [EMAIL PROTECTED] |----------------------------------------- > Phone: +972-53-245868, ICQ 13349191 |Life's a bitch, but god forbid the bitch > http://nadav.harel.org.il |divorce me -- Nas -- This message is for the designated recipient only, and will self destruct in 5 seconds, Please Duck beforehand. ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
