Re: [PATCH v10 1/4] unicode: Add utf8_casefold_hash

From: Gabriel Krisman Bertazi
Date: Tue Jul 07 2020 - 13:50:38 EST


Daniel Rosenberg <drosen@xxxxxxxxxx> writes:

> This adds a case insensitive hash function to allow taking the hash
> without needing to allocate a casefolded copy of the string.
>
> The existing d_hash implementations for casefolding allocates memory
> within rcu-walk, by avoiding it we can be more efficient and avoid
> worrying about a failed allocation.
>
> Signed-off-by: Daniel Rosenberg <drosen@xxxxxxxxxx>

Reviewed-by: Gabriel Krisman Bertazi <krisman@xxxxxxxxxxxxx>

--
Gabriel Krisman Bertazi