[PATCH v2 14/20] nvme-auth: check chap ctrl_key once constructed
Chaitanya Kulkarni
chaitanyak at nvidia.com
Mon Nov 14 20:13:00 PST 2022
On 11/13/22 03:24, Sagi Grimberg wrote:
> ctrl ctrl_key member may be overwritten from a sysfs context driven
> by the user. Once a queue local copy was created, use that instead
> to minimize checks on a shared resource.
>
> Signed-off-by: Sagi Grimberg <sagi at grimberg.me>
> ---
Since it is not in a fast path do we really have to care about the
performance impact on the shared resource locks ?
-ck
More information about the Linux-nvme
mailing list