lkml.org 
[lkml]   [2021]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sched/fair.c: add helper func for util_avg and runnable_avg calc
On Thu, Apr 22, 2021 at 05:14:16PM +0800, Hui Su wrote:
> add helper func for util_avg and runnable_avg calc when entity
> enqueue and dequeue. No functional change.
>
> without this change:
> size vmlinux
> text data bss dec hex filename
> 19889268 6632812 2429160 28951240 1b9c2c8 vmlinux
> size kernel/sched/fair.o
> text data bss dec hex filename
> 40044 1569 96 41709 a2ed kernel/sched/fair.o
> ubuntu@zeku_server:~/workspace/linux-stable $
>
> with this change:
> size vmlinux
> text data bss dec hex filename
> 19889268 6632812 2429160 28951240 1b9c2c8 vmlinux
> size kernel/sched/fair.o
> text data bss dec hex filename
> 40044 1569 96 41709 a2ed kernel/sched/fair.o
>
> Signed-off-by: Hui Su <suhui@zeku.com>
> ---
> kernel/sched/fair.c | 48 +++++++++++++++++++++++++++++++++++++--------
> 1 file changed, 40 insertions(+), 8 deletions(-)

So you're increasing line-count and clutter for absolutely no benefit.

Why would we want that?

\
 
 \ /
  Last update: 2021-04-22 13:52    [W:0.030 / U:0.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site