sorry for top posting.
I have one more question. I got how the kernel activates the swap area but how does it decide when to actually start transferring data to that area. and when to stop or revert back. Also what does it do for writing the data to the swap space from the main memory. I mean the method called for doing this transfer.
regards
Devvrat