Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1157824 > unrolled thread
| Started by | Josh Triplett <josh@joshtriplett.org> |
|---|---|
| First post | 2015-06-03 18:40 +0200 |
| Last post | 2015-06-03 18:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 2/2] x86/asm/entry/32: Remove unnecessary optimization in stub32_clone Josh Triplett <josh@joshtriplett.org> - 2015-06-03 18:40 +0200
| From | Josh Triplett <josh@joshtriplett.org> |
|---|---|
| Date | 2015-06-03 18:40 +0200 |
| Subject | Re: [PATCH 2/2] x86/asm/entry/32: Remove unnecessary optimization in stub32_clone |
| Message-ID | <pxjRU-6Dp-1@gated-at.bofh.it> |
On Wed, Jun 03, 2015 at 03:58:50PM +0200, Denys Vlasenko wrote: > Really swap arguments #4 and #5 in stub32_clone instead of "optimizing" > it into a move. > > Yes, tls_val is currently unused. Yes, on some CPUs XCHG is a little bit > more expensive than MOV. But a cycle or two on an expensive syscall like > clone() is way below noise floor, and this optimization is simply not worth > the obfuscation of logic. [...] > This is a resend. > > There was a patch by Josh Triplett > "x86: Opt into HAVE_COPY_THREAD_TLS, for both 32-bit and 64-bit" > sent on May 11, > which does the same thing as part of a bigger cleanup. > He was supportive of this patch because of comments. > He will simply have to drop one hunk from his patch. Strictly speaking, nothing needs this until clone starts paying attention to its tls argument, which only happens in my cleanup series that includes this change. So what's the purpose of driving this patch separately? - Josh Triplett -- 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 top | Article view | linux.kernel
csiph-web