[linux-mm-cc] rmzswap newbie question

Nitin Gupta ngupta at vflare.org
Tue Aug 11 22:55:32 EDT 2009


Hi,

On 08/11/2009 10:43 PM, Vivek wrote:
>
> When does a write or read happen from the rmzswap device? When does
> rmzswap_make_request function get called? If the kernel is built with
> rmzswap enabled then under what scenario does the system write and read
> to this device. Pls explain. I have gone through the code and am
> understanding it, the above or some of the questions that have come to
> my mind. Pointers to any doc are welcome.
>

ramzswap is a block device driver. Please refer Chapter-16 of Linux 
Device Drivers book:

http://lwn.net/images/pdf/LDD3/ch16.pdf

Once you have read this chapter, you will get hang of how this is working.


Thanks,
Nitin


More information about the linux-mm-cc mailing list