Bug 198275 - zram not free allocated memory even if all files are deleted
Summary: zram not free allocated memory even if all files are deleted
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: drivers_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-26 07:14 UTC by cissu
Modified: 2017-12-26 09:20 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.14.8
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description cissu 2017-12-26 07:14:28 UTC
# df
/dev/zram0      4.9G   20M  4.6G   1% /var/tmp

# echo 1 >  /sys/block/zram0/compact

# zramctl
NAME       ALGORITHM DISKSIZE   DATA  COMPR  TOTAL STREAMS MOUNTPOINT
/dev/zram0 lz4             5G 785.6M 243.3M 256.3M       4 /var/tmp

# uname -a
Linux gentoo_server 4.14.8-gentoo-r1 #3 SMP Sat Dec 23 15:59:24 CST 2017 x86_64 Intel(R) Atom(TM) CPU 330 @ 1.60GHz GenuineIntel GNU/Linux


zram not free allocated memory even if all files are deleted.
compact trigger is not work, this problem make zram useless...

Note You need to log in before you can comment on or make changes to this bug.