[PATCH v2] aarch64: Hoist ZVA check out of the memset function

Siddhesh Poyarekar siddhesh@sourceware.org
Thu Oct 5 09:56:00 GMT 2017


On Thursday 05 October 2017 03:00 PM, Szabolcs Nagy wrote:
> it is ok to use the generic one, it just seemed that there
> is a generic and a default_zva variant which could be unified
> (only one of them is necessary) and then that can be used
> for rtld, generic and non-conventional zva size cases.

default_zva is not the same as the generic one because the former
assumes that zva is enabled.  So your suggestion basically boils down to
dropping default_zva.  It's sub-optimal for the default_zva case, but it
doesn't matter for now since there aren't any cores that will actually
hit that.

Siddhesh



More information about the Libc-alpha mailing list