[PATCH] nvme-tcp: Fix misuse of __smp_processor_id with preemption enabled

Chaitanya Kulkarni Chaitanya.Kulkarni at wdc.com
Mon Mar 15 21:15:41 GMT 2021


On 3/15/21 14:01, Sagi Grimberg wrote:
> For our pure advisory use-case, we only rely on this call as a hint
> so fix the warning complaints of using the smp_processor_id variants
> with preemption enabled.
>
> Fixes: db5ad6b7f8cd ("nvme-tcp: try to send request in queue_rq context")
> Fixes: ada831772188 ("nvme-tcp: Fix warning with CONFIG_DEBUG_PREEMPT")
> Signed-off-by: Sagi Grimberg <sagi at grimberg.me>

This patch adds the call that is discussed on the earlier thread.

Looks good.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>





More information about the Linux-nvme mailing list