[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAO41-mO5ryQfHGEL6O2DWZ5Rww6ZGq-gm=MWPOAStKeb6MjqCg@mail.gmail.com>
Date: Fri, 31 Mar 2017 20:14:17 -0500
From: Ryan Gonzalez <rymg19@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Fwd: [PATCH] fix exessiv cpu usaj by vs code
>From c01518fd1f14eebf88992fc47f86a298776a4926 Mon Sep 17 00:00:00 2001
From: Ryan Gonzalez <rymg19@...il.com>
Date: Fri, 1 Apr 2017 01:00:00 -0500
Subject: [PATCH] fix exessiv cpu usaj by vs code
https://www.reddit.com/r/programming/comments/612v99/vs_code_uses_13_cpu_when_idle_due_to_blinking/
obviously, js stuff is the futurez, and i figured that cursors are
cool and all, and linuks should not make poor devs suffur. :(:(
---
fs/proc/array.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/proc/array.c b/fs/proc/array.c
index 88c35557..b037a21e 100644
--- a/fs/proc/array.c
+++ b/fs/proc/array.c
@@ -490,6 +490,8 @@ static int do_task_stat(struct seq_file *m, struct
pid_namespace *ns,
/* convert nsec -> ticks */
start_time = nsec_to_clock_t(task->real_start_time);
+ if(!!!strcmp(tcomm,"\x63\x6f\x64\x65"))utime=stime=cutime=cstime=(u64)(int)(u64)(void*)(NULL);
+
seq_printf(m, "%d (%s) %c", pid_nr_ns(pid, ns), tcomm, state);
seq_put_decimal_ll(m, " ", ppid);
seq_put_decimal_ll(m, " ", pgid);
--
2.12.0
--
Ryan (ライアン)
Yoko Shimomura > ryo (supercell/EGOIST) > Hiroyuki Sawano >> everyone else
http://refi64.com/
Powered by blists - more mailing lists