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. _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel