resourced-memory-lmk: Remove unnecessary logs
authorSangYoun Kwak <sy.kwak@samsung.com>
Mon, 10 Apr 2023 09:17:04 +0000 (18:17 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Fri, 21 Apr 2023 08:17:42 +0000 (17:17 +0900)
Some logs were showing meaningless informations:
 * The ratio between candidates->len and task_info_app_array->len, which
   are the same.
 * The Number of processes which are added to the candidate, which is
   same as the number of processes passed to the governor.

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
src/resourced-memory-lmk/resourced-memory-lmk.c

index 361d25ad7a31876cdc36745d9c8f1c0735254882..7abcd8650a32777c7cde3bef3405e437dad71a55 100644 (file)
@@ -65,8 +65,6 @@ int get_kill_candidates(GArray *candidates,
                g_array_append_val(candidates, task);
        }
 
-       _D("[LMK] Apps candidates ratio=%d/%d", candidates->len, task_info_app_array->len);
-
        if (!candidates->len)
                return 0;
 
@@ -77,7 +75,6 @@ int get_kill_candidates(GArray *candidates,
                                                struct task_info, i);
                        g_array_append_val(candidates, task);
                }
-               _D("[LMK] %d processes were added to candidates", task_info_proc_array->len);
        }
 
        g_array_sort_with_data(candidates, (GCompareDataFunc)compare_victims,