I took the liberty to fix this code in jcc's salsa repository and file a merge request.
https://salsa.debian.org/jcc/zram-tools/-/merge_requests/4 The diff *looks* big because it pulls the "packaging" branch over to "master", but this is really this patch commit_id=ba29e5f4963c2e7fca088eaa98beed3e70cfe039 2 files + 22 - 23 (including config changes) Using the "CORES" approach is not needed anymore, a single device can make use of multiple cores just fine. I would appreciate if this could go in and a new release pulled into debian. It really hurts us on the pinephone that we cannot use an upstream version right now.