[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADvZEfUqRgaTEJJVXypzvES4g5zw2B+UbJKJeMnzkaJgSrA81w@mail.gmail.com>
Date: Tue, 16 Jun 2015 13:56:52 -0500
From: Luke Skywalker <lukes357@...il.com>
To: Richard Weinberger <richard.weinberger@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] small update for strlen, strnlen, use less cpu instructions
> This is not a valid patch submission. Please see
> Documentation/SubmittingPatches.
I resent the patch an hour ago based on that document, thanks for
pointing this out.
I need to know if the patch is in good shape now, thanks
>
> Anyway, why do you think your patch makes strlen() better?
> Now strlen() increments a variable for each character it faces, hence
> it will consume more cycles.
you can look at the output of objdump -d to see why, also the assembly
snippet send by another person make this clear.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists