[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAL1RGDUVmK4T=-SJOQz6KFQhbjkMnbXUaxU0-eyWDH-bXMNtQA@mail.gmail.com>
Date: Wed, 2 May 2012 15:46:12 -0700
From: Roland Dreier <roland@...nel.org>
To: Sasha Levin <levinsasha928@...il.com>
Cc: sean.hefty@...el.com, hal.rosenstock@...il.com,
parav.pandit@...lex.com, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] RDMA/ocrdma: Don't sleep in atomic notifier handler
On Fri, Apr 27, 2012 at 10:40 PM, Sasha Levin <levinsasha928@...il.com> wrote:
> + spin_lock(&ocrdma_devlist_lock);
> + list_add_tail_rcu(&dev->entry, &ocrdma_dev_list);
> + spin_lock(&ocrdma_devlist_lock);
Er, applied with this fixed to be spin_unlock at the end...
--
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