This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH RFC] explicit_bzero, again
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: libc-alpha at sourceware dot org
- Date: Mon, 7 Sep 2015 19:31:09 -0300
- Subject: Re: [PATCH RFC] explicit_bzero, again
- Authentication-results: sourceware.org; auth=none
- References: <55C7E246 dot 3000006 at panix dot com> <55D0BDA7 dot 40402 at panix dot com> <55D653AF dot 8000107 at linaro dot org> <CAKCAbMhW4WrGYdaqiFBRYh8Vxt+5kmDb5fv7XiJ0ps1_4PA1jw at mail dot gmail dot com> <55DE2A73 dot 3060202 at linaro dot org> <CAKCAbMiaevQiDhXeJbAPNRSd7VAneQdbLZs7Ggai-Zr4oBTaHw at mail dot gmail dot com> <55DE30D0 dot 1090602 at linaro dot org> <55EDC6FE dot 2080603 at panix dot com>
On 07-09-2015 14:18, Zack Weinberg wrote:
> It remains my opinion that the patch as I posted it (with an update to
> the manual -- I will get to that in the next few days) is Good Enough
> and we should not hold off on making the API available until the ideal
> bits/string2.h optimization for it is possible. I will be sending a
> message to the gcc and clang mailing lists in the next few days to
> open a discussion of that ideal, but I don't have any plans to
> implement it myself.
>
> zw
Thanks for the detailed analysis, it indeed shows that the 'memread'
is a better approach. In fact I was not really obstructing your patch,
just curious about the 'memread' approach, and I apologize if I passed
the impression I was trying to stall your patch based on this specific
optimization.