Re: VM Vs Swap space

kernel kernel
2004-10-08T03:29:02Z

In That case, also. There is a implicit Swap area and a Explicit area.

On Thu, 7 Oct 2004 12:07:21 -0400, Pratik Solanki
<pratik.solanki.ml@gmail.com> wrote:
> On Thu, 7 Oct 2004 10:37:40 +0100 (BST), Ankit Jain
> <ankitjain1580@yahoo.com> wrote:
> > well if we dont have a swap area then shall i say my
> > system dosent have virtual memory
>
> No.
>
> > is this correct? because i feel even if this swap area
> > is not there then also virtual memory concept exists?
>
> Virtual memory is the reason why applications can think they have 4GB
> of memory while your physical machine might actually have only 32MB.
> You don't need to have swap in order to have virtual memory, although
> its very advantageous to have swap with VM.
>
> Virtual memory maps the viurtual pages (from 0 to 4GB) to actually
> physical memory pages (from 0 to however much RAM you have). Swapping
> is the process of using the disk to store physical memory pages when
> they are not in use, and then restoring them when an application
> accesses them.
>
> Pratik.
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs