Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1166317
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Luke Skywalker <lukes357@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] small update for strlen, strnlen, use less cpu instructions |
| Date | Tue, 16 Jun 2015 21:00:01 +0200 |
| Message-ID | <pC4fv-2B3-1@gated-at.bofh.it> (permalink) |
| References | <pBUJc-5Dr-11@gated-at.bofh.it> <pBWrE-8bF-15@gated-at.bofh.it> |
| X-Original-To | Richard Weinberger <richard.weinberger@gmail.com> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RCbGI1cXS4hmJVDtnmGMX8JFKOsCIdsfnJ5wyEYMEK8=; b=VAQWFD6nEz/oewx/jiopa5Q9EHQXoFBMxbOo5VJIVpw0X375yhTDUSbSATZ41WV6Pe El0vVcZbbQyo0R5hIGOfoiH3cB6hRrk4ISeEI96LZQBmSlU2Vf0lU6QBIsQFSq2o//jN 2PPLOduK69qqeLw3WIdcig0inbFHnyWIeeZyJQobEsqCknuIOJuAzc7+A+r4UburAW6C QrMSl9m9s5RjQKMEE9rT0r+aLgi3890e9hTv+bq8fAHX9KgKBDirJBlD+NRGFUpg7T9S y97GkAhhStqtW6KMUWUPDho8GxyHWaDWMZYXAH+LFLcoJSZCtR90O2pt/bbYeaM8Dz3i s3ag== |
| MIME-Version | 1.0 |
| X-Received | by 10.43.45.130 with SMTP id uk2mr378941icb.38.1434481012287; Tue, 16 Jun 2015 11:56:52 -0700 (PDT) |
| Content-Type | text/plain; charset=UTF-8 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 19 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | LKML <linux-kernel@vger.kernel.org> |
| X-Original-Date | Tue, 16 Jun 2015 13:56:52 -0500 |
| X-Original-Message-ID | <CADvZEfUqRgaTEJJVXypzvES4g5zw2B+UbJKJeMnzkaJgSrA81w@mail.gmail.com> |
| X-Original-References | <557FEC27.8080401@gmail.com> <CAFLxGvzh621foWC6D3rBv9=_iHjFAU7VNqqpRf6wwCO7Ucq=LQ@mail.gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | aioe.org linux.kernel:1166317 |
Show key headers only | View raw
> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH] small update for strlen, strnlen, use less cpu instructions Luke Skywalker <lukes357@gmail.com> - 2015-06-16 21:00 +0200 Re: [PATCH] small update for strlen, strnlen, use less cpu instructions Darth Vader <bp@alien8.de> - 2015-06-16 21:10 +0200
csiph-web