public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Jackson <pj@sgi.com>
To: Paul Jackson <pj@sgi.com>
Cc: akpm@osdl.org, dino@in.ibm.com, Simon.Derr@bull.net,
	linux-kernel@vger.kernel.org, Ingo Molnar <mingo@elte.hu>,
	Linus Torvalds <torvalds@osdl.org>,
	davej@redhat.com, ashok.raj@intel.com
Subject: Re: [PATCH] Cpuset: fix ABBA deadlock with cpu hotplug lock
Date: Sun, 23 Jul 2006 11:12:43 -0700	[thread overview]
Message-ID: <20060723111243.d1373616.pj@sgi.com> (raw)
In-Reply-To: <20060714095434.24283.5979.sendpatchset@jackhammer.engr.sgi.com>

[I added the CC list from the "remove cpu hotplug bustification" thread. -pj]

Nine days ago, I offered this patch to fix a particular instance of
ABBA deadlock we were seeing on a single customer machine, between the
cpu hotplug lock and one of the cpuset locks.  In this case, the patch
was simple enough - reorder a couple of operations to avoid the risk of
taking these locks in the wrong order.

pj wrote:
> This fix appears right from inspection, but it will take a few
> more days running it on that customers workload to be confident
> we nailed it.  We don't have any other reproducible test case.

We now have enough exposure running this fix on that customers workload
to be confident this fix works.  We should have seen at least ten of
these crashes by now.  We've seen zero.

If the upcoming 2.6.18 is still open for non-critical fixes please
consider this patch.  In this case, it is non-critical because few
systems (exactly one system, world wide, so far) hit it.  It is quite
fatal when hit.

On the other hand, if you decide to nuke the cpu hotplug lock for
2.6.18, then just forget this patch, as it would no longer apply.

There's no need of trimming the patients ingrown toenail if you
amputate the leg.

-- 
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <pj@sgi.com> 1.925.600.0401

  reply	other threads:[~2006-07-23 18:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-14  9:54 [PATCH] Cpuset: fix ABBA deadlock with cpu hotplug lock Paul Jackson
2006-07-23 18:12 ` Paul Jackson [this message]
2006-07-23 18:23   ` Linus Torvalds
2006-07-23 18:36     ` Paul Jackson

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=20060723111243.d1373616.pj@sgi.com \
    --to=pj@sgi.com \
    --cc=Simon.Derr@bull.net \
    --cc=akpm@osdl.org \
    --cc=ashok.raj@intel.com \
    --cc=davej@redhat.com \
    --cc=dino@in.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=torvalds@osdl.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