lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ