Messages in this thread | | | Date | Mon, 2 Feb 2009 21:58:01 -0800 | Subject | Re: [PATCH] dca: redesign locks | From | Jeff Kirsher <> |
| |
On Mon, Feb 2, 2009 at 9:14 AM, Maciej Sosnowski <maciej.sosnowski@intel.com> wrote: > 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> > --- > > drivers/dca/dca-core.c | 51 +++++++++++++++++++++++++++++++----------------- > 1 files changed, 33 insertions(+), 18 deletions(-) >
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-- Cheers, Jeff
| |