diff options
author | Tino Reichardt <[email protected]> | 2022-06-21 23:32:09 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-06-21 14:32:09 -0700 |
commit | deb1213098e2dc10e6eee5e5c57bb40584e096a6 (patch) | |
tree | e2405b47aef3e81fbfaab04423a8111dcb4e2631 /module/zcommon | |
parent | b17663f571bfa1ef5e77d3c72f1610bacfc0c6ad (diff) |
Fix memory allocation issue for BLAKE3 context
The kmem_alloc(sizeof (*ctx), KM_NOSLEEP) call on FreeBSD can't be
used in this code segment. Work around this by pre-allocating a percpu
context array for later use.
Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tino Reichardt <[email protected]>
Closes #13568
Diffstat (limited to 'module/zcommon')
0 files changed, 0 insertions, 0 deletions