Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964881AbWBGU3f (ORCPT ); Tue, 7 Feb 2006 15:29:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965071AbWBGU3f (ORCPT ); Tue, 7 Feb 2006 15:29:35 -0500 Received: from liaag1ac.mx.compuserve.com ([149.174.40.29]:64904 "EHLO liaag1ac.mx.compuserve.com") by vger.kernel.org with ESMTP id S964881AbWBGU3e (ORCPT ); Tue, 7 Feb 2006 15:29:34 -0500 Date: Tue, 7 Feb 2006 15:25:52 -0500 From: Chuck Ebbert <76306.1226@compuserve.com> Subject: 2.6.16-rc1-mm5: explanation text for kretprobe-kretprobe-booster.patch To: Andrew Morton Cc: "David S. Miller" , Ananth N Mavinakayanahalli , Anil S Keshavamurthy , Prasanna S Panchamukhi , linux-kernel , Masami Hiramatsu Message-ID: <200602071528_MC3-1-B7DD-D2ED@compuserve.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 870 Lines: 27 In kretprobe-kretprobe-booster.patch: > From: Masami Hiramatsu > > What does this do? > Here's a description: In normal operation, kretprobe makes a target function return to trampoline code. A kprobe (called trampoline_probe) has been inserted in the trampoline code. When the kernel hits this kprobe, it calls kretprobe's handler and it returns to the original return address. Kretprobe-booster removes the trampoline_probe. It allows the trampoline code to call kretprobe's handler directly instead of invoking kprobe. The trampoline code returns to the original return address. -- Chuck - 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/