From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754708Ab2L3PrZ (ORCPT ); Sun, 30 Dec 2012 10:47:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:22438 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754670Ab2L3PrW (ORCPT ); Sun, 30 Dec 2012 10:47:22 -0500 Date: Sun, 30 Dec 2012 16:46:57 +0100 From: Oleg Nesterov To: Ingo Molnar , Peter Zijlstra , Srikar Dronamraju Cc: Ananth N Mavinakayanahalli , Anton Arapov , Frank Eigler , Josh Stone , "Suzuki K. Poulose" , linux-kernel@vger.kernel.org Subject: [PATCH 0/2] uprobes: Change handle_swbp() to expose bp_vaddr to handler_chain() Message-ID: <20121230154657.GA28488@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello. Inspired by the recent uretrpobe RFC's. I think it simply makes no sense to call handler/skip/arch_uprobe_pre_xol with regs->ip pointing to the "random" address after the task hits bp. Ananth, could you please confirm 2/2 can't break powerpc? It "obviously" shouldn't because uprobe_get_swbp_addr() is a "nop" on ppc, but still your ack is welcomed. Oleg.