From: Mike Fedyk <mfedyk@matchmail.com>
To: Nikita Danilov <Nikita@Namesys.COM>
Cc: Joe Thornber <thornber@redhat.com>,
Arjan van de Ven <arjanv@redhat.com>,
Prashanth T <prasht@in.ibm.com>,
rml@tech9.net, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] rwlock_is_locked undefined for UP systems
Date: Fri, 16 Jan 2004 10:10:52 -0800 [thread overview]
Message-ID: <20040116181052.GJ1748@srv-lnx2600.matchmail.com> (raw)
In-Reply-To: <16391.65470.831998.936394@laputa.namesys.com>
On Fri, Jan 16, 2004 at 06:14:06PM +0300, Nikita Danilov wrote:
> it should now be changed to the
>
> void foo_locked(struct bar *obj)
> {
> #ifdef CONFIG_SMP
> BUG_ON(!rwlock_is_locked(&obj->lock));
> #endif
> /* proceed with obj. */
> }
You forgot preempt... ;)
next prev parent reply other threads:[~2004-01-16 18:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-16 13:45 Prashanth T
2004-01-16 13:55 ` Arjan van de Ven
2004-01-16 14:53 ` Joe Thornber
2004-01-16 15:14 ` Nikita Danilov
2004-01-16 18:10 ` Mike Fedyk [this message]
2004-01-16 14:09 ` Christoph Hellwig
2004-01-19 6:12 ` Prashanth T
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=20040116181052.GJ1748@srv-lnx2600.matchmail.com \
--to=mfedyk@matchmail.com \
--cc=Nikita@Namesys.COM \
--cc=arjanv@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=prasht@in.ibm.com \
--cc=rml@tech9.net \
--cc=thornber@redhat.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
all inboxes | Powered by JetHome®