aboutsummaryrefslogtreecommitdiff
path: root/rpc_hash.c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2018-01-04 13:15:30 -0500
committerPaul Selkirk <paul@psgd.org>2018-01-04 13:46:44 -0500
commit894181009ad3002d84d2ce6ea74bbd5aea068999 (patch)
tree0c46b96872195194051b6afd03fd6fbc2fe89af1 /rpc_hash.c
parentbc167c214e97ed35f39d088a7dee3f1a9511340e (diff)
Add hal_core_alloc2() to fix a dining philosophers problem in hal_modexp2().
Uncoordinated attempts to allocate two modexpa7 cores leads to deadlock if multiple clients try to do concurrent RSA signing operations. The simplest solution (back off and retry) could theoretically lead to resource starvation, but we haven't seen it in actual testing.
Diffstat (limited to 'rpc_hash.c')
0 files changed, 0 insertions, 0 deletions