Revision eb4400e3a040b90a3ad805b01fcbc99a5f615c8f authored by Maciej Sosnowski on 03 February 2009, 07:26:57 UTC, committed by David S. Miller on 03 February 2009, 07:26:57 UTC
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: Maciej Sosnowski <maciej.sosnowski@intel.com> Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent ff01b91
locking-selftest-rlock.h
#undef LOCK
#define LOCK RL
#undef UNLOCK
#define UNLOCK RU
#undef RLOCK
#define RLOCK RL
#undef WLOCK
#define WLOCK WL
#undef INIT
#define INIT RWI
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...