summarylogtreecommitdiffstats
path: root/disable_proc_ac.patch
diff options
context:
space:
mode:
Diffstat (limited to 'disable_proc_ac.patch')
-rw-r--r--disable_proc_ac.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/disable_proc_ac.patch b/disable_proc_ac.patch
new file mode 100644
index 000000000000..294096401bd0
--- /dev/null
+++ b/disable_proc_ac.patch
@@ -0,0 +1,34 @@
+From d8a438149b5f46d3266dc48b32bff15eae55a120 Mon Sep 17 00:00:00 2001
+From: egnappahz <egnappah@gmail.com>
+Date: Tue, 5 May 2020 09:36:01 +0200
+Subject: [PATCH 1/1] stopped proc acc spam
+
+Signed-off-by: egnappahz <egnappah@gmail.com>
+---
+ kernel/acct.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/kernel/acct.c b/kernel/acct.c
+index 81f9831a7859..dea694894774 100644
+--- a/kernel/acct.c
++++ b/kernel/acct.c
+@@ -114,14 +114,14 @@ static int check_free_space(struct bsd_acct_struct *acct)
+ do_div(suspend, 100);
+ if (sbuf.f_bavail <= suspend) {
+ acct->active = 0;
+- pr_info("Process accounting paused\n");
++ //pr_info("Process accounting paused\n");
+ }
+ } else {
+ u64 resume = sbuf.f_blocks * RESUME;
+ do_div(resume, 100);
+ if (sbuf.f_bavail >= resume) {
+ acct->active = 1;
+- pr_info("Process accounting resumed\n");
++ //pr_info("Process accounting resumed\n");
+ }
+ }
+
+--
+2.26.2
+