aboutsummaryrefslogtreecommitdiffstats
path: root/module/unicode
diff options
context:
space:
mode:
authorAlexander Motin <[email protected]>2024-05-01 13:59:32 -0400
committerBrian Behlendorf <[email protected]>2024-05-29 08:54:19 -0700
commit672474659687115fc10f56f5473cd16eb307a99f (patch)
treeb96e56fae617b831916b5256ccb3b1db3e143a14 /module/unicode
parent938d1588ebc7fb41e24500b2f21839f5a53b4ab5 (diff)
Slightly improve dnode hash
As I understand just for being less predictable dnode hash includes 8 bits of objset pointer, starting at 6. But since objset_t is more than 1KB in size, its allocations are likely aligned to 2KB, that means 11 lower bits provide no entropy. Just take the 8 bits starting from 11. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Alexander Motin <[email protected]> Sponsored by: iXsystems, Inc. Closes #16131
Diffstat (limited to 'module/unicode')
0 files changed, 0 insertions, 0 deletions