[PATCH v3] explicit_bzero yet again

Florian Weimer fweimer@redhat.com
Wed Aug 3 12:36:00 GMT 2016


On 11/19/2015 03:46 PM, Zack Weinberg wrote:
> I've updated the explicit_bero patches for the change to how .abilist
> files work and the reorganization of x86.  I've also split the
> controversial string2.h optimization into its own patch so it can be
> discussed separately from the merits of the interface.

Zack, can you propose a stripped-down version of the patch with no 
unrelated test changes?

I need the explicit_bzero compiler barrier for writing some tests.

I think the API is as good as it gets.  The implementation may need some 
changes in the future (e.g., clearing all callee-saved registers), but 
that depends on how things work out on the GCC side and does not seem 
required for a first implementation.

Florian



More information about the Libc-alpha mailing list