From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30830 invoked by alias); 6 Dec 2005 18:47:41 -0000 Received: (qmail 30823 invoked by uid 22791); 6 Dec 2005 18:47:40 -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 18:47:39 +0000 Received: from magilla.sf.frob.com (magilla.sf.frob.com [198.49.250.228]) by gateway.sf.frob.com (Postfix) with ESMTP id 0C042357B; Tue, 6 Dec 2005 10:47:33 -0800 (PST) Received: by magilla.sf.frob.com (Postfix, from userid 5281) id B29301809BC; Tue, 6 Dec 2005 10:47:33 -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 Tuesday, 6 December 2005 10:06:53 -0500 <20051206150652.GC9617@redhat.com> X-Antipastobozoticataclysm: Bariumenemanilow Message-Id: <20051206184733.B29301809BC@magilla.sf.frob.com> Date: Tue, 06 Dec 2005 18:47: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/msg00352.txt.bz2 > Places that come to mind are those routines that change the "current" > pointers, and routines (if any) involved in computing the "current" > macro, to test for reentrancy problems. The macro is inlined into a little bit of assembly. The pointer is stored on the stack and never changed (you just switch stacks). The only current pointer that gets changed is the one on interrupt stacks, which is set up before switching to the interrupt stack. So the closest to "dangerous" places would be inside context switching and inside interrupt handling.