Here are tiny script and program I made to test the zram feature:
https://github.com/d-hatayama/some_stuff_for_crash_zram_devel
This may help your reviewing.
Thanks.
HATAYAMA, Daisuke
________________________________________
From: HATAYAMA Daisuke <d.hatayama(a)fujitsu.com>
Sent: Sunday, October 11, 2020 10:34
To: crash-utility(a)redhat.com
Cc: zhaoqianli(a)xiaomi.com; Hatayama, Daisuke/畑山 大輔
Subject: [PATCH 0/5] zram related changes for zram support of crash gcore command
This patch set is to make changes I found necessary during development
of zram support for crash gcore command.
HATAYAMA Daisuke (5):
diskdump, zram: cleanup try_zram_decompress()
diskdump, zram: initialize zram symbol information when needed
diskname, zram: fix fault error when reading zram disk with no symbol
information
diskname, zram: Notify necessity of loading zram module
memory, zram: introduce and export readswap()
defs.h | 1 +
diskdump.c | 220 ++++++++++++++++++++++++++++++++++++-------------------------
memory.c | 5 +-
3 files changed, 136 insertions(+), 90 deletions(-)
--
1.8.3.1