This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH roland/vdso_clock_gettime] x86: Clean up __vdso_clock_gettime variable.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>
- Cc: Torvald Riegel <triegel at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 29 Jan 2015 16:26:25 -0800 (PST)
- Subject: Re: [PATCH roland/vdso_clock_gettime] x86: Clean up __vdso_clock_gettime variable.
- Authentication-results: sourceware.org; auth=none
- References: <20150129005747 dot 3DAE82C3A92 at topped-with-meat dot com> <54CA1705 dot 80903 at linux dot vnet dot ibm dot com>
> Since you are modifying the code, which are the advantages and constrains to
> x86_64/i386 carry specific assembly implementation for pthread_cond_*
> function? What prevent them to use the C default code?
We've discussed before that we'd like to eliminate the assembly. We have
just been too conservative to do it without careful performance testing to
give us confidence that it won't be a performance regression, and nobody
has done that yet. I think it might be on Torvald's agenda. (If not, we
need a volunteer for that!)