Kernel module for monitoring dirty pages and writeback rates