Thread (1 message) 1 message, 1 author, 2020-07-07

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

From: Gabriel Krisman Bertazi <hidden>
Date: 2020-07-07 17:50:39
Also in: linux-f2fs-devel, linux-fscrypt, linux-fsdevel, lkml

Possibly related (same subject, not in this thread)

Daniel Rosenberg [off-list ref] 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 <redacted>
Reviewed-by: Gabriel Krisman Bertazi <redacted>

-- 
Gabriel Krisman Bertazi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help