Merge "[Bugfix][T106BUG-643] Customer encountered high instantaneous sys% CPU occupancy during operation."
diff --git a/cap/zx297520v3/sources/meta-zxic/recipes-core/busybox/busybox/busybox-1.33.1/0103-top-short-lived-processes-optimize.patch b/cap/zx297520v3/sources/meta-zxic/recipes-core/busybox/busybox/busybox-1.33.1/0103-top-short-lived-processes-optimize.patch
new file mode 100644
index 0000000..62af12d
--- /dev/null
+++ b/cap/zx297520v3/sources/meta-zxic/recipes-core/busybox/busybox/busybox-1.33.1/0103-top-short-lived-processes-optimize.patch
@@ -0,0 +1,26 @@
+From a7c12b3612a2024f0d5470f1bcfe1b4e435bdb5a Mon Sep 17 00:00:00 2001
+From: =?utf-8?q?=E5=91=A8=E5=9B=BD=E5=9D=A10318000136?=
+ <zhou.guopo@sanechips.com.cn>
+Date: Mon, 13 May 2024 14:04:54 +0800
+Subject: [PATCH] top short lived processes optimize
+
+---
+ procps/top.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/procps/top.c b/procps/top.c
+index 8d39526..f0caea9 100644
+--- a/procps/top.c
++++ b/procps/top.c
+@@ -653,7 +653,7 @@ static NOINLINE void display_process_list(int lines_rem, int scr_width)
+ 	busy_jifs = cur_jif.busy - prev_jif.busy;
+ 	/* This happens if there were lots of short-lived processes
+ 	 * between two top updates (e.g. compilation) */
+-	if (total_pcpu < busy_jifs) total_pcpu = busy_jifs;
++	//if (total_pcpu < busy_jifs) total_pcpu = busy_jifs;
+ 
+ 	/*
+ 	 * CPU% = s->pcpu/sum(s->pcpu) * busy_cpu_ticks/total_cpu_ticks
+-- 
+2.17.1
+
diff --git a/cap/zx297520v3/sources/meta-zxic/recipes-core/busybox/busybox_1.33.1.bb b/cap/zx297520v3/sources/meta-zxic/recipes-core/busybox/busybox_1.33.1.bb
index 26d6680..6303d45 100755
--- a/cap/zx297520v3/sources/meta-zxic/recipes-core/busybox/busybox_1.33.1.bb
+++ b/cap/zx297520v3/sources/meta-zxic/recipes-core/busybox/busybox_1.33.1.bb
@@ -58,6 +58,7 @@
 SRC_URI += "file://busybox-1.33.1/0100-zxic-add-sync-after-chmod.patch"
 SRC_URI += "file://busybox-1.33.1/0101-zxic-bb_get_chunk_from_file-limit-10MB.patch"
 #SRC_URI += "file://busybox-1.33.1/0102-zxic-ash-read-etc-profile.patch"
+SRC_URI += "file://busybox-1.33.1/0103-top-short-lived-processes-opimize.patch"
 
 SRC_URI_append_libc-musl = " file://busybox-1.33.1/musl.cfg "