Re: [PATCH] stats: Replace seq_printf with seq_puts

2020-09-16 Thread peterz
On Wed, Sep 16, 2020 at 03:44:15AM +, Xu Wang wrote: > seq_puts is a lot cheaper than seq_printf, so use that to print > literal strings. performance is not a consideration here. > Signed-off-by: Xu Wang > --- > kernel/sched/stats.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

[PATCH] stats: Replace seq_printf with seq_puts

2020-09-15 Thread Xu Wang
seq_puts is a lot cheaper than seq_printf, so use that to print literal strings. Signed-off-by: Xu Wang --- kernel/sched/stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/stats.c b/kernel/sched/stats.c index 750fb3c67eed..0818fe03407a 100644 --- a/kernel/sc