This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] S/390: Port of lock elision to System/z
- From: Andi Kleen <andi at firstfloor dot org>
- To: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 24 Apr 2014 18:17:41 -0700
- Subject: Re: [PATCH] S/390: Port of lock elision to System/z
- Authentication-results: sourceware.org; auth=none
- References: <ljb7sd$ukp$1 at ger dot gmane dot org> <535979FD dot 9060407 at linux dot vnet dot ibm dot com>
Adhemerval Zanella <azanella@linux.vnet.ibm.com> writes:
> Hi Stefan
>
> I think the patch adds to much code duplication based on x86 version, it calls for
> some refactoring. Just comments below:
This was discussed some time ago.
The lock elision algorithms will likely evolve over time, and it's
doubtful they will change in the same ways for very different architectures
So I think it's better to keep it separated.
See it like everyone deserves their own optimized memcpy ...
-Andi
--
ak@linux.intel.com -- Speaking for myself only