diff options
author | Rui Salvaterra <rsalvaterra@gmail.com> | 2020-06-23 12:29:54 +0100 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-07-11 13:33:28 +0200 |
commit | 0bd7dfa3ed60588ec83a8f60f48b6991ebb16940 (patch) | |
tree | 89a3ed8b98c85f7f60935528257cc48711f20e0a /package/kernel/linux/modules/leds.mk | |
parent | c5c652e5ad97335eb3968dab6be0d7152e22893b (diff) | |
download | upstream-0bd7dfa3ed60588ec83a8f60f48b6991ebb16940.tar.gz upstream-0bd7dfa3ed60588ec83a8f60f48b6991ebb16940.tar.bz2 upstream-0bd7dfa3ed60588ec83a8f60f48b6991ebb16940.zip |
zram-swap: enable swap discard
Zram block devices have supported trim/discard for over six years, let's
enable it. This allows the zram device to actually free up allocated memory
when it's marked as unused in the filesystem metadata, as explained in more
detail in the original commit message [1].
[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/block/zram/zram_drv.c?h=linux-4.14.y&id=f4659d8e620d08bd1a84a8aec5d2f5294a242764
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Diffstat (limited to 'package/kernel/linux/modules/leds.mk')
0 files changed, 0 insertions, 0 deletions