Zram vs swap partition vs swapfile

Most people probably use zram-generator, and that has a writeback-device option. So it’s a popular notion that some writeback happens. But no, that only specifies a device but triggers no writeback requests. The user has to set up some timers or heuristic to trigger writebacks themself.