lkml.org 
[lkml]   [2015]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] Some minor printf improvements
Date
While studying the kernel's printf internals in order to write the
kernel-specific format checking for smatch, I stumbled on a few things
one could do to shave an instruction here and there. Nothing
earth-shattering.

Rasmus Villemoes (4):
lib/vsprintf.c: Eliminate some branches
lib/vsprintf.c: Reduce stack use in number()
lib/vsprintf.c: Eliminate duplicate hex string array
lib/vsprintf.c: Another small hack

lib/vsprintf.c | 49 +++++++++++++++++--------------------------------
1 file changed, 17 insertions(+), 32 deletions(-)

--
2.1.3



\
 
 \ /
  Last update: 2015-02-21 00:41    [W:0.030 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site