Skip to content
Commit 663deb47 authored by Joel Fernandes's avatar Joel Fernandes Committed by Kees Cook
Browse files

pstore: Allow prz to control need for locking



In preparation of not locking at all for certain buffers depending on if
there's contention, make locking optional depending on the initialization
of the prz.

Signed-off-by: default avatarJoel Fernandes <joelaf@google.com>
[kees: moved locking flag into prz instead of via caller arguments]
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent d8991f51
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment