On (11/27/18 14:54), Minchan Kim wrote: > To support idle page writeback with upcoming patches, this patch > introduces a new ZRAM_IDLE flag. > > Userspace can mark zram slots as "idle" via > "echo all > /sys/block/zramX/idle" > which marks every allocated zram slot as ZRAM_IDLE. > User could see it by /sys/kernel/debug/zram/zram0/block_state. > > 300 75.033841 ...i > 301 63.806904 s..i > 302 63.806919 ..hi
Hopefully we will never have a 't' block state :) -ss