mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shaohua Li <shaohua.li@intel.com>
To: Nathan Lynch <ntl@pobox.com>
Cc: linux-kernel@vger.kernel.org, Ingo Molnar <mingo@elte.hu>,
	Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH] softlockup detection vs. cpu hotplug
Date: Fri, 24 Feb 2006 09:31:53 +0800	[thread overview]
Message-ID: <1140744713.16880.4.camel@sli10-desk.sh.intel.com> (raw)
In-Reply-To: <20060224003146.GJ3293@localhost.localdomain>

On Fri, 2006-02-24 at 08:31 +0800, Nathan Lynch wrote:
> 
> In the watchdog thread, do touch_softlockup_watchdog in a 
> non-preemptible section so that it won't touch another cpu's 
> timestamp.  This can happen in the window between the watchdog thread 
> getting forcefully migrated during a cpu offline operation and 
> kthread_should_stop.
Could we stop the thread in CPU_DOWN_PREPARE case, so it will not be
migrated to other CPUs? I suppose it's better the per-cpu thread only
runs on the specific cpu.

Thanks,
Shaohua


  reply	other threads:[~2006-02-24  1:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-24  0:31 Nathan Lynch
2006-02-24  1:31 ` Shaohua Li [this message]
2006-02-24  6:25 ` Ingo Molnar

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=1140744713.16880.4.camel@sli10-desk.sh.intel.com \
    --to=shaohua.li@intel.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=ntl@pobox.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®