From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30324 invoked by alias); 24 Jun 2006 12:16:30 -0000 Received: (qmail 30317 invoked by uid 22791); 24 Jun 2006 12:16:30 -0000 X-Spam-Status: No, hits=-3.1 required=5.0 tests=BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mtagate1.uk.ibm.com (HELO mtagate1.uk.ibm.com) (195.212.29.134) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 24 Jun 2006 12:16:27 +0000 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate1.uk.ibm.com (8.13.6/8.13.6) with ESMTP id k5OCGPWC149802 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sat, 24 Jun 2006 12:16:25 GMT Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.6/NCO/VER7.0) with ESMTP id k5OCHjYi141374 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 24 Jun 2006 13:17:45 +0100 Received: from d06av01.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k5OCGOnw017792 for ; Sat, 24 Jun 2006 13:16:24 +0100 Received: from localhost (sig-9-145-147-181.de.ibm.com [9.145.147.181]) by d06av01.portsmouth.uk.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k5OCGO6q017785; Sat, 24 Jun 2006 13:16:24 +0100 Date: Sat, 24 Jun 2006 14:27:00 -0000 From: Heiko Carstens To: Michael Grundy Cc: Jan Glauber , Martin Schwidefsky , linux-kernel@vger.kernel.org, systemtap@sources.redhat.com Subject: Re: [PATCH] kprobes for s390 architecture Message-ID: <20060624121541.GD10403@osiris.ibm.com> References: <20060623150344.GL9446@osiris.boeblingen.de.ibm.com> <20060623222106.GA25410@osiris.ibm.com> <20060624113641.GB10403@osiris.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060624113641.GB10403@osiris.ibm.com> User-Agent: mutt-ng/devel-r804 (Linux) 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: 2006-q2/txt/msg00685.txt.bz2 > Just do a compare and swap operation on the instruction you want to replace, > then do an smp_call_function() with the wait parameter set to 1 and passing > a pointer to a function that does nothing but return. Setting wait to 1 isn't necessary as well. Wondering if I get anything right today...