2002-08-26 02:45:44

by net reel

[permalink] [raw]
Subject: swap memory

Hi, I have a very newbie question but I couldnt get an answer in anywhere so please, could someone explain me how swap is initialized? Is it initalized when the kernel is decompressed or when the init scripts are called?


--
Get your free email from http://www.linuxmail.org


Powered by Outblaze


2002-08-26 02:55:10

by dijital1

[permalink] [raw]
Subject: Re: swap memory

On Sun, 2002-08-25 at 22:49, net reel wrote:
> Hi, I have a very newbie question but I couldnt get an answer in anywhere so please, could someone explain me how swap is initialized? Is it initalized when the kernel is decompressed or when the init scripts are called?
>
Swap is initialized when one of the init scripts runs swapon which makes
a call to sys_swapon defined in mm/swapfile.c


dijital1

"Unix is simple and coherent, but it takes a genius (or a programmer at
any rate) to understand and appreciate it's simplicity" - Dennis Ritchie



2002-08-26 03:17:48

by dijital1

[permalink] [raw]
Subject: Re: swap memory

On Sun, 2002-08-25 at 22:49, net reel wrote:
> Hi, I have a very newbie question but I couldnt get an answer in anywhere so please, could someone explain me how swap is initialized? Is it initalized when the kernel is decompressed or when the init scripts are called?
>
Swap is initialized when one of the init scripts runs swapon which makes
a call to sys_swapon defined in mm/swapfile.c


dijital1

"Unix is simple and coherent, but it takes a genius (or a programmer at
any rate) to understand and appreciate it's simplicity" - Dennis Ritchie


> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>