mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Iwo Mergler <iwo@call-direct.com.au>
Cc: linux-kernel@vger.kernel.org, Jes Sorensen <jes@trained-monkey.org>
Subject: Re: Fix for genalloc locking
Date: Tue, 21 Oct 2008 08:39:49 -0700	[thread overview]
Message-ID: <20081021083949.3b1473c8.randy.dunlap@oracle.com> (raw)
In-Reply-To: <48F83400.90901@call-direct.com.au>

On Fri, 17 Oct 2008 16:43:12 +1000 Iwo Mergler wrote:

> Hi,
> 
> I hit a little problem while using genalloc with a mix
> of interrupt/non-interrupt context. I believe the correct
> fix is to replace the locking calls with the _irqsave/_irqrestore
> variants. Patch follows.
> 
> Is this correct?
> 
> BTW, is there any documentation on the Lockdep warnings?
> What exactly is the meaning of {--+.} in 
> 
> (&pool->lock){--+.}, at: [<c0125d1c>] gen_pool_free+0x34/0x120

Did you read Documentation/lockdep-design.txt ?

---
~Randy

  parent reply	other threads:[~2008-10-21 15:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-17  6:43 Iwo Mergler
2008-10-17  6:46 ` [PATCH] " Iwo Mergler
2008-10-21 15:39 ` Randy Dunlap [this message]
2008-10-21 22:20   ` Iwo Mergler

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=20081021083949.3b1473c8.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=iwo@call-direct.com.au \
    --cc=jes@trained-monkey.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

Powered by JetHome