From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5614 invoked by alias); 6 Dec 2005 01:11:34 -0000 Received: (qmail 5605 invoked by uid 22791); 6 Dec 2005 01:11:33 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from gateway.sf.frob.com (HELO gateway.sf.frob.com) (64.81.54.130) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 06 Dec 2005 01:11:30 +0000 Received: from magilla.sf.frob.com (magilla.sf.frob.com [198.49.250.228]) by gateway.sf.frob.com (Postfix) with ESMTP id 56DF9357B; Mon, 5 Dec 2005 17:11:27 -0800 (PST) Received: by magilla.sf.frob.com (Postfix, from userid 5281) id 082661809BC; Mon, 5 Dec 2005 17:11:26 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: "Frank Ch. Eigler" Cc: "Stone, Joshua I" , systemtap@sources.redhat.com Subject: Re: [Bug translator/1276] support more timer varieties In-Reply-To: Frank Ch. Eigler's message of Monday, 5 December 2005 20:03:32 -0500 <20051206010332.GB9617@redhat.com> X-Windows: you'd better sit down. Message-Id: <20051206011126.082661809BC@magilla.sf.frob.com> Date: Tue, 06 Dec 2005 01:11:00 -0000 X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2005-q4/txt/msg00343.txt.bz2 What this really means is that "current" always works, it's just not always useful to think about that task. i.e., in an interrupt handler, the interrupt has nothing necessarily to do with the task that was current at the time of the interrupt. I'm fairly sure that "current" never yields garbage, or even a task that isn't exactly the one that was on the CPU running process-mode code last.