Re: swap memory

Ron Henry (dijital1@underboost.net)
25 Aug 2002 18:17:02 -0400


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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/