Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262185AbVD1RdO (ORCPT ); Thu, 28 Apr 2005 13:33:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262186AbVD1RdO (ORCPT ); Thu, 28 Apr 2005 13:33:14 -0400 Received: from fire.osdl.org ([65.172.181.4]:42677 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S262185AbVD1Rcy (ORCPT ); Thu, 28 Apr 2005 13:32:54 -0400 Date: Thu, 28 Apr 2005 10:32:45 -0700 From: "Randy.Dunlap" To: "Rafael J. Wysocki" Cc: akpm@osdl.org, ak@suse.de, linux-kernel@vger.kernel.org Subject: Re: [BUG] 2.6.12-rc3: unkillable java process in TASK_RUNNING on AMD64 Message-Id: <20050428103245.21023e00.rddunlap@osdl.org> In-Reply-To: <200504271412.51565.rjw@sisk.pl> References: <200504271152.15423.rjw@sisk.pl> <200504271305.10882.rjw@sisk.pl> <20050427045546.7c769a4f.akpm@osdl.org> <200504271412.51565.rjw@sisk.pl> Organization: OSDL X-Mailer: Sylpheed version 1.0.0 (GTK+ 1.2.10; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Thu__28_Apr_2005_10_32_45_-0700_TfP_+ZQ65jznrvG9" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 8909 Lines: 139 This is a multi-part message in MIME format. --Multipart=_Thu__28_Apr_2005_10_32_45_-0700_TfP_+ZQ65jznrvG9 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 27 Apr 2005 14:12:51 +0200 "Rafael J. Wysocki" wrote: > > > It'd be interesting to know the interrupt rate and context switch rate > > which this is going on. > > OK, but could you please tell me how to get these numbers? Use something like the attached perl script... (a little overkill for this). --- ~Randy --Multipart=_Thu__28_Apr_2005_10_32_45_-0700_TfP_+ZQ65jznrvG9 Content-Type: application/octet-stream; name="sysalive.pl" Content-Disposition: attachment; filename="sysalive.pl" Content-Transfer-Encoding: base64 IyEgL3Vzci9iaW4vcGVybCAtdwojIHN5c2FsaXZlLnBsIDIwMDUuMDMuMTIKIyBSYW5keSBEdW5s YXAgPHJkZHVubGFwQG9zZGwub3JnPgojCiMgQ2hhbmdlbG9nOgojIEFkZCBwYWdlX2lvL3NlY29u ZCwgc3dhcF9pby9zZWNvbmQsIGludHMvc2Vjb25kLAojIGFuZCBjb250ZXh0X3N3aXRjaGVzL3Nl Y29uZDsKIyBBbHNvIG1ha2UgJGludGVydmFsIGFuZCAkbG9vcGNvdW50IGJlIGludCh2YWx1ZSk7 CiMgT21pdCBwYWdlIGFuZCBzd2FwIGRhdGEgaW4gMi42Lng7CiMgQWRkIHNvbWUgL3Byb2Mvdm1z dGF0IHBpZWNlczsKIwojIFByaW50cyBzb21lIHNlbGVjdGVkIHN5c3RlbSBzdGF0cyBmb3IgYSBx dWljayBpbmRpY2F0aW9uIG9mCiMgICBzeXN0ZW0gbGl2ZWxpbmVzczsKIyBCZSBzbWFsbCBhbmQg dGFrZSBsZXNzIENQVSB0aW1lICh1bmxpa2UgdG9wIG9yIHZtc3RhdCk7CiMgSGFuZyBhcm91bmQg c28gdGhhdCBhbm90aGVyIGZvcmsoKSBpcyBub3QgcmVxdWlyZWQ7CiMKIyBwb3NzaWJpbGl0aWVz OgojIC0gY21kbGluZSArIHZlcnNpb24gKDEgdGltZSBvbmx5KSAvLwojIC0gdGltZTsJCQkvLwoj IC0gY3B1aW5mbyBzdW1tYXJ5OgkJVEJECiMgLSBpbnRlcnJ1cHRzIHN1bW1hcnk6CQlUQkQKIyAt IGxvYWRhdmcgcGllY2VzOgkJLy8KIyAJbG9hZFtsYXN0IDEgbWluXSwgbG9hZFtsYXN0IDUgbWlu XSwgbG9hZFtsYXN0IDE1IG1pbl0sCiMgCW5yX3Byb2NzX2luX3JlYWR5cSwgbnJfcHJvY3NfdG90 YWwsIGxhc3RfcGlkX3VzZWQKIyAtIG1lbWlu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PT09PT09PT09PT09 PT09PT09PT09PT09PT09PVxuIjsKCXNsZWVwICgkaW50ZXJ2YWwpOwoKCWlmICgkbG9vcGNvdW50 KQkJCSMgaXMgYmVpbmcgdXNlZAoJewoJCSRsb29wY291bnQtLTsKCQlsYXN0IExPT1BFUiBpZiAk bG9vcGNvdW50ID09IDA7Cgl9Cn0gIyBlbmQgZm9yZXZlci9MT09QRVIKCgpjbG9zZSAoTE9BREFW Ryk7CmNsb3NlIChTVEFUKTsKY2xvc2UgKE1FTUlORk8pOwoKZXhpdCAwOwojIGVuZCBzeXNhbGl2 ZS5wbAo= --Multipart=_Thu__28_Apr_2005_10_32_45_-0700_TfP_+ZQ65jznrvG9-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/