On Mon, Oct 01, 2001 at 10:53:44AM -0400, Calin A. Culianu wrote: > On Sat, 29 Sep 2001, Chunky Kibbles wrote: > > > On Fri, Sep 28, 2001 at 01:14:46PM -0700, A V wrote: > > > > > > Hi, > > > > > > Does RTLinux uses virtual memory ? I hope not. > > > Becaz real-time kernel should not use virtual memory. > > > But in our RTLinux the module loading is taken care > > > of by Linux kernel. Am i right ? Linux kernel uses > > > virtual memory. How can Linux kernel know that it > > > should not use virtual memory for RT-processes ? > > > Please clear my doubt. > > > > Yes, the kernel support full virtual memory; there's no point in it not > > doing so. > > > > The memory, though comes in two varieties for this situation: > > kernel-space, and user-space. Kernel-space memory will never get > > swapped out, but user-space memory can be. > > > > RT Linux code actually runs as a kernel module [at least, the bit you > > code to be actual hard real-time]. This module runs in kernel-space, > > so will never get swapped out. > > Here's a bit of linux not-so-trivial trivia that I want clarified: > Kernel memory doesn't get swapped out in linux, period.. right? I know > some other OS kernels (especially microkernels) sometimes like to page out > outter parts of the kernel.... If it's part of the kernel, it's not swapped. Full stop.
Modules are considered part of the kernel Gary (-; -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/
