Re: [PATCH] dca: redesign locks

From: David Miller
Date: Tue Feb 03 2009 - 02:27:23 EST


From: Jeff Kirsher <jeffrey.t.kirsher@xxxxxxxxx>
Date: Mon, 2 Feb 2009 21:58:01 -0800

> On Mon, Feb 2, 2009 at 9:14 AM, Maciej Sosnowski
> <maciej.sosnowski@xxxxxxxxx> 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@xxxxxxxxx>
> > ---
> >
> > drivers/dca/dca-core.c | 51 +++++++++++++++++++++++++++++++-----------------
> > 1 files changed, 33 insertions(+), 18 deletions(-)
> >
>
> Acked-by: Jeff Kirsher <jeffrey.t.kirsher@xxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/