From: Anton Blanchard <anton@samba.org>
To: Mike Kravetz <kravetz@us.ibm.com>
Cc: Bill Davidsen <davidsen@tmr.com>, linux-kernel@vger.kernel.org
Subject: Re: Bug with shared memory.
Date: Sat, 18 May 2002 06:29:16 +1000 [thread overview]
Message-ID: <20020517202916.GA13581@krispykreme> (raw)
In-Reply-To: <20020515154200.B8975@w-mikek2.des.beaverton.ibm.com> <Pine.LNX.3.96.1020517135011.15351A-100000@gatekeeper.tmr.com> <20020517130707.C1549@w-mikek2.des.beaverton.ibm.com>
> No I did not intend to imply this. AFAIK 'CONFIG_DEBUG_SPINLOCK=y'
> works fine on x86 (although I'm not a user myself). My intention
> was only to add additional features to x86, that appear to only exist
> for sparc64.
It would be nice to see some of these things end up in a generic
place. Now that we can wrap our spinlocks easily (preempt changed
all the spinlocks to _raw_*) we could create a generic debug option
that checked:
uninitialised lock, timeout on deadlock, double lock by same cpu,
unlock by another cpu, unlock when not locked, scheduling with lock held,
read lock when same cpu has write lock.
And Im sure there are some more useful tests.
Anton
next prev parent reply other threads:[~2002-05-17 20:34 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-14 15:13 Bug with shared memory Martin Schwidefsky
2002-05-14 19:33 ` Andrew Morton
2002-05-15 22:42 ` Mike Kravetz
2002-05-15 23:07 ` Andrew Morton
2002-05-17 17:53 ` Bill Davidsen
2002-05-17 20:07 ` Mike Kravetz
2002-05-17 20:29 ` Anton Blanchard [this message]
2002-05-20 4:30 ` Andrea Arcangeli
2002-05-20 5:21 ` Andrew Morton
2002-05-20 11:34 ` Andrey Savochkin
2002-05-20 14:15 ` Andrea Arcangeli
2002-05-20 19:24 ` Rik van Riel
2002-05-20 23:46 ` Andrea Arcangeli
2002-05-21 0:14 ` Martin J. Bligh
2002-05-21 1:40 ` Andrea Arcangeli
2002-05-20 16:22 ` Martin J. Bligh
2002-05-20 19:38 ` Rik van Riel
2002-05-20 20:06 ` William Lee Irwin III
2002-05-20 16:13 ` Martin J. Bligh
2002-05-20 16:37 ` Andrea Arcangeli
2002-05-20 17:23 ` Martin J. Bligh
2002-05-20 17:32 ` William Lee Irwin III
2002-05-24 7:33 ` inode highmem imbalance fix [Re: Bug with shared memory.] Andrea Arcangeli
2002-05-24 7:51 ` William Lee Irwin III
2002-05-24 8:04 ` Andrew Morton
2002-05-24 15:20 ` Andrea Arcangeli
2002-05-24 11:47 ` Ed Tomlinson
2002-05-30 11:25 ` Denis Lunev
2002-05-30 17:59 ` Andrea Arcangeli
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=20020517202916.GA13581@krispykreme \
--to=anton@samba.org \
--cc=davidsen@tmr.com \
--cc=kravetz@us.ibm.com \
--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