Re: [PATCH rdma-next] RDMA/mlx5: Move events notifier registration to be after device registration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 13 Nov 2024 13:23:19 +0200, Leon Romanovsky wrote:
> Move pkey change work initialization and cleanup from device resources
> stage to notifier stage, since this is the stage which handles this work
> events.
> 
> Fix a race between the device deregistration and pkey change work by moving
> MLX5_IB_STAGE_DEVICE_NOTIFIER to be after MLX5_IB_STAGE_IB_REG in order to
> ensure that the notifier is deregistered before the device during cleanup.
> Which ensures there are no works that are being executed after the
> device has already unregistered which can cause the panic below.
> 
> [...]

Applied, thanks!

[1/1] RDMA/mlx5: Move events notifier registration to be after device registration
      https://git.kernel.org/rdma/rdma/c/ede132a5cf559f

Best regards,
-- 
Leon Romanovsky <leon@xxxxxxxxxx>





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux