Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1648 - Please build busybox swapon with discard support #8502

Closed
openwrt-bot opened this issue Jul 12, 2018 · 0 comments
Closed

FS#1648 - Please build busybox swapon with discard support #8502

openwrt-bot opened this issue Jul 12, 2018 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

rsalvaterra:

Busybox supports swap discard mounting since late March 2014[1]. Zram suports TRIM/discard since early April 2014[2]. On OpenWrt systems with zram-swap, being able to mount the zram swap space as discardable would be quite beneficial, since compressed freed pages would be immediately returned to the system.

[1] https://git.busybox.net/busybox/commit/?id=0a53b203f9e7157136c8ab4e8753008a63a56660
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/block/zram?id=f4659d8e620d08bd1a84a8aec5d2f5294a242764

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant