Re: [PATCH 0/3] ramzswap: Eliminate stale data from compressed memory(v2)

From: Pekka Enberg
Date: Sat May 08 2010 - 03:05:59 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/