summarylogtreecommitdiffstats
path: root/disable_proc_ac.patch
blob: 294096401bd08cd1c4b39740160ea7cf3b6ff93b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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