[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090202.232704.05806886.davem@davemloft.net>
Date: Mon, 02 Feb 2009 23:27:04 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jeffrey.t.kirsher@...el.com
Cc: maciej.sosnowski@...el.com, dan.j.williams@...el.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] dca: redesign locks
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Date: Mon, 2 Feb 2009 21:58:01 -0800
> On Mon, Feb 2, 2009 at 9:14 AM, Maciej Sosnowski
> <maciej.sosnowski@...el.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@...el.com>
> > ---
> >
> > drivers/dca/dca-core.c | 51 +++++++++++++++++++++++++++++++-----------------
> > 1 files changed, 33 insertions(+), 18 deletions(-)
> >
>
> Acked-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists