diff options
author | Karel Zak | 2017-03-30 12:10:01 +0200 |
---|---|---|
committer | Karel Zak | 2017-03-30 12:10:01 +0200 |
commit | 2546d54bd8b0ceac75d6d7e6c483479022d97509 (patch) | |
tree | 4a7813ccc9f9e512c985018a9b5a696193b12953 /sys-utils/lscpu.c | |
parent | agetty: fix typo (diff) | |
download | kernel-qcow2-util-linux-2546d54bd8b0ceac75d6d7e6c483479022d97509.tar.gz kernel-qcow2-util-linux-2546d54bd8b0ceac75d6d7e6c483479022d97509.tar.xz kernel-qcow2-util-linux-2546d54bd8b0ceac75d6d7e6c483479022d97509.zip |
zramctl: make mm_stat parser more robust
Let's fallback to attribute files if mm_stat file is incomplete. It
should not happen, but I have seen RHEL7 kernel where is no
num_migrated/pages_compacted attribute...
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/lscpu.c')
0 files changed, 0 insertions, 0 deletions