Skip to content

Commit 839b395

Browse files
Alexey Dobriyantorvalds
authored andcommitted
lib: uninline simple_strntoull() as well
Codegen become bloated again after simple_strntoull() introduction add/remove: 0/0 grow/shrink: 0/4 up/down: 0/-224 (-224) Function old new delta simple_strtoul 5 2 -3 simple_strtol 23 20 -3 simple_strtoull 119 15 -104 simple_strtoll 155 41 -114 Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Alexey Dobriyan <[email protected]> Cc: Richard Fitzgerald <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent bfb3ba3 commit 839b395

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/vsprintf.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@
5353
#include <linux/string_helpers.h>
5454
#include "kstrtox.h"
5555

56-
static unsigned long long simple_strntoull(const char *startp, size_t max_chars,
57-
char **endp, unsigned int base)
56+
static noinline unsigned long long simple_strntoull(const char *startp, size_t max_chars, char **endp, unsigned int base)
5857
{
5958
const char *cp;
6059
unsigned long long result = 0ULL;

0 commit comments

Comments
 (0)