aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/ubus
diff options
context:
space:
mode:
authorRui Salvaterra <rsalvaterra@gmail.com>2020-07-13 14:03:47 +0100
committerRui Salvaterra <rsalvaterra@gmail.com>2022-03-03 20:22:25 +0000
commit247eaa44161b0a07e2dd40ffaa181d47ca10a96b (patch)
treee9e643867b617c6891ec95379ef90eea6c98277d /package/system/ubus
parent8235723c78b535635ef47951ec8fa61d6a4f3593 (diff)
downloadupstream-247eaa44161b0a07e2dd40ffaa181d47ca10a96b.tar.gz
upstream-247eaa44161b0a07e2dd40ffaa181d47ca10a96b.tar.bz2
upstream-247eaa44161b0a07e2dd40ffaa181d47ca10a96b.zip
procd: remove support for mounting /tmp in zram
The /tmp directory is mounted as tmpfs. The tmpfs filesystem is backed by anonymous memory, which means it can be swapped out at any time, if there is memory pressure [1]. For this reason, a zram swap device is a much better choice than mounting /tmp on zram, since it's able to compress all anonymous memory, and not just the memory assigned to /tmp. We already have the zram-swap package for this specific purpose, which means procd's tmp-on-zram is both redundant and more limited. A follow-up patch will remove support for mounting /tmp in zram from procd itself. [1] https://www.kernel.org/doc/Documentation/filesystems/tmpfs.txt Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Diffstat (limited to 'package/system/ubus')
0 files changed, 0 insertions, 0 deletions