Skip to content
Commit eb4400e3 authored by Maciej Sosnowski's avatar Maciej Sosnowski Committed by David S. Miller
Browse files

dca: redesign locks to fix deadlocks



Change spin_locks to irqsave to prevent dead-locks.
Protect adding and deleting to/from dca_providers list.
Drop the lock during dca_sysfs_add_req() and dca_sysfs_remove_req() calls
as they might sleep (use GFP_KERNEL allocation).

Signed-off-by: default avatarMaciej Sosnowski <maciej.sosnowski@intel.com>
Acked-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ff01b916
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment