From: Johannes Berg <johannes@sipsolutions.net>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: Senthil Balasubramanian <senthilkumar@atheros.com>,
Senthilkumar Balasubramanian
<Senthilkumar.Balasubramanian@Atheros.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
Jiri Slaby <jirislaby@gmail.com>,
"Luis R. Rodriguez" <mcgrof@gmail.com>
Subject: Re: [PATCH] wireless: convert reg_regdb_search_lock to mutex
Date: Tue, 16 Mar 2010 20:24:35 -0700 [thread overview]
Message-ID: <1268796275.7068.8.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <20100317025656.GA9058@tuxdriver.com>
On Tue, 2010-03-16 at 22:56 -0400, John W. Linville wrote:
> On Tue, Mar 16, 2010 at 05:54:50PM +0530, Senthil Balasubramanian wrote:
> > On Wed, Mar 17, 2010 at 05:54:16AM +0530, John W. Linville wrote:
> > > On Tue, Mar 16, 2010 at 03:33:38PM +0530, Senthil Balasubramanian wrote:
> > > > On Wed, Mar 17, 2010 at 01:19:00AM +0530, John W. Linville wrote:
> > > > > Stanse discovered that kmalloc can be called with GFP_KERNEL while
> > > > This commit log is confusing. It Should be "Stanse discovered kmalloc
> > > > was called with GFP_KERNEL". Obviously kmalloc with GFP_KERNEL shouldn't
> > > > be used while holding a spinlock.
> > > > > holding this spinlock. It can be a mutex instead.
> > >
> > > Not half so confusing as your criticism... :-)
> > sorry! if my mail wasn't proper. I didn't meant to blame/criticize.
> > I was confused when I read the commit log and so I replied.
> > >
> > > Are you objecting to "can be" instead of "was"?
> > I am not objecting anything...
>
> Criticism is fine -- I just don't understand what you were saying or
> what you think I should have said in the commit log.
English at work ... let me guess:
For John: "can" == "it could happen that"
For Senthil: "can" == "may"
(when really you may NOT do GFP_KERNEL allocations in atomic context)
johannes
next prev parent reply other threads:[~2010-03-17 3:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-16 13:26 regd: sleeping in atomic Jiri Slaby
2010-03-16 16:18 ` Luis R. Rodriguez
2010-03-16 18:42 ` Jiri Slaby
2010-03-16 20:36 ` Luis R. Rodriguez
2010-03-16 19:49 ` [PATCH] wireless: convert reg_regdb_search_lock to mutex John W. Linville
2010-03-16 10:03 ` Senthil Balasubramanian
2010-03-17 0:24 ` John W. Linville
2010-03-16 12:24 ` Senthil Balasubramanian
2010-03-17 2:56 ` John W. Linville
2010-03-17 3:24 ` Johannes Berg [this message]
2010-03-17 1:26 ` Senthil Balasubramanian
2010-03-17 12:55 ` John W. Linville
2010-03-17 13:01 ` John W. Linville
2010-03-17 19:33 ` [PATCH v2] " John W. Linville
2010-03-18 20:47 ` [PATCH v3] " John W. Linville
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1268796275.7068.8.camel@jlt3.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=Senthilkumar.Balasubramanian@Atheros.com \
--cc=jirislaby@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=mcgrof@gmail.com \
--cc=senthilkumar@atheros.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).