aboutsummaryrefslogtreecommitdiffstats
path: root/include/image-legacy.mk
diff options
context:
space:
mode:
authorRui Salvaterra <rsalvaterra@gmail.com>2020-06-23 12:29:54 +0100
committerPetr Štetiar <ynezz@true.cz>2020-07-11 13:33:28 +0200
commit0bd7dfa3ed60588ec83a8f60f48b6991ebb16940 (patch)
tree89a3ed8b98c85f7f60935528257cc48711f20e0a /include/image-legacy.mk
parentc5c652e5ad97335eb3968dab6be0d7152e22893b (diff)
downloadupstream-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 'include/image-legacy.mk')
0 files changed, 0 insertions, 0 deletions