From: Iwo Mergler <iwo@call-direct.com.au>
To: linux-kernel@vger.kernel.org
Cc: Jes Sorensen <jes@trained-monkey.org>
Subject: Fix for genalloc locking
Date: Fri, 17 Oct 2008 16:43:12 +1000 [thread overview]
Message-ID: <48F83400.90901@call-direct.com.au> (raw)
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
Kind regards,
Iwo
next reply other threads:[~2008-10-17 5:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-17 6:43 Iwo Mergler [this message]
2008-10-17 6:46 ` [PATCH] Fix for genalloc locking Iwo Mergler
2008-10-21 15:39 ` Randy Dunlap
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=48F83400.90901@call-direct.com.au \
--to=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.