linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Thomas Pedersen <thomas@cozybit.com>
Cc: linux-wireless@vger.kernel.org, javier@cozybit.com
Subject: Re: [PATCH] mac80211: call drv_get_tsf() in sleepable context
Date: Wed, 10 Oct 2012 10:08:45 +0200	[thread overview]
Message-ID: <1349856525.4683.28.camel@jlt4.sipsolutions.net> (raw)
In-Reply-To: <1349485060-8643-2-git-send-email-thomas@cozybit.com> (sfid-20121006_025748_824596_57F12720)

On Fri, 2012-10-05 at 17:57 -0700, Thomas Pedersen wrote:
> The call to drv_get/set_tsf() was put on the workqueue to perform tsf
> adjustments since that function might sleep. However it ended up inside
> a spinlock, whose critical section must be atomic. Do tsf adjustment
> outside the spinlock instead, and get rid of a warning.

Applied, thanks.

johannes


      reply	other threads:[~2012-10-10  8:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-06  0:57 [PATCH] mac80211: call drv_get_tsf() in sleepable context Thomas Pedersen
2012-10-06  0:57 ` Thomas Pedersen
2012-10-10  8:08   ` Johannes Berg [this message]

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=1349856525.4683.28.camel@jlt4.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=javier@cozybit.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=thomas@cozybit.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).