Messages in this thread | | | Date | Sat, 08 May 2010 10:05:27 +0300 | From | Pekka Enberg <> | Subject | Re: [PATCH 0/3] ramzswap: Eliminate stale data from compressed memory (v2) |
| |
Nitin Gupta wrote: > Its not debug code. This ioctl is how we send stats about given ramzswap > device to userspace: rzscontrol /dev/ramzswap --stats, invokes this ioctl > and prints the stats. I will add comments to this part to make it clear.
Another option would be sysfs if you want the stats to always be available.
| |