From: Tim FitzGeorge <ipfr@tfitzgeorge.me.uk>
To: development@lists.ipfire.org
Subject: [PATCH] Allow kernel to swap memory on high demand
Date: Tue, 25 Sep 2018 18:52:30 +0100 [thread overview]
Message-ID: <20180925175231.6080-1-ipfr@tfitzgeorge.me.uk> (raw)
[-- Attachment #1: Type: text/plain, Size: 534 bytes --]
Signed-off-by: Tim FitzGeorge <ipfr at tfitzgeorge.me.uk>
Fixes: Bug 11839
---
config/etc/sysctl.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/etc/sysctl.conf b/config/etc/sysctl.conf
index 345f8f52a..4066af767 100644
--- a/config/etc/sysctl.conf
+++ b/config/etc/sysctl.conf
@@ -27,7 +27,7 @@ net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.all.log_martians = 1
kernel.printk = 1 4 1 7
-vm.swappiness=0
+vm.swappiness=1
vm.mmap_min_addr = 4096
vm.min_free_kbytes = 8192
--
2.16.4
next reply other threads:[~2018-09-25 17:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-25 17:52 Tim FitzGeorge [this message]
2018-09-25 18:29 ` Peter Müller
2018-09-25 20:50 ` Michael Tremer
2018-09-26 19:55 ` Tim FitzGeorge
2018-10-02 21:11 ` Michael Tremer
2018-10-04 15:46 ` Peter Müller
2018-10-04 15:47 ` Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180925175231.6080-1-ipfr@tfitzgeorge.me.uk \
--to=ipfr@tfitzgeorge.me.uk \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox