Skip to contentSkip to conversation

swap memory

DISCUSSION net reel 2 participants 3 messages Aug 26, 2002

lore
Share & tools
lore

net reel

author
#0 lore raw

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?

Signature · 4 lines
Get your free email from www.linuxmail.org 


Powered by Outblaze
#1 lore raw
Quoted 2 lines · net reel

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

#2 lore raw
In reply to net reel
Quoted 2 lines · net reel

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

Quoted 6 lines

-
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/