[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <43e72e891003161336t1c2f905w13762dfa49257450@mail.gmail.com>
Date: Tue, 16 Mar 2010 13:36:38 -0700
From: "Luis R. Rodriguez" <mcgrof@...il.com>
To: Jiri Slaby <jirislaby@...il.com>
Cc: "linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>,
"John W. Linville" <linville@...driver.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: regd: sleeping in atomic
On Tue, Mar 16, 2010 at 11:42 AM, Jiri Slaby <jirislaby@...il.com> wrote:
> On 03/16/2010 05:18 PM, Luis R. Rodriguez wrote:
>>
>> one iteration of call_crda() which happens during module
>> initialization and from what I gather I don't think the kernel is
>> happy when you mutex_lock on load routines, please correct my foggy
>> memory if I am mistaken.
>
> No, using mutex in init/exit module routines is fine. Where do you have the
> information from?
A snag I hit when trying this a while ago on reg.c. I suppose the real
issue could have been something else.
> There might be problems only with request_module,
> flush_scheduled_work or similar.
OK -- then in that case I think using a mutex would work here, unless
John spots any other issues.
Luis
--
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