Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3772216ybl; Tue, 20 Aug 2019 01:56:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxEu9VF/jogLVM6o0n9GeUIleYUwrydS0GXm+jMWZd/Ghn093SjFwQTE65dws098laMYxc X-Received: by 2002:a17:90a:6581:: with SMTP id k1mr25017464pjj.47.1566291405498; Tue, 20 Aug 2019 01:56:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566291405; cv=none; d=google.com; s=arc-20160816; b=fVZo56ClfcWDq21G3Q5A4h/swsGg4tZforoTEJD/PgBeH6ZFOBd/yWWlu1auO7pAzo HrpFfJfwHAqiKzr3nH0G0OER9/F6+AnT5VK0kXXHeqkE+6YifovmNx00049HWvg+AONc Xz0md2YVtaXBn+8Nj/uYKceG/MU3H1/YluKzVb9Xpsz8QHbo87tMXbyA54/jolmpPq3A tvHuJg3/8pjocAnO2OsO5aH/Ykfs7Chmyl9Fuoi9pZTZfUnYaFUid0cW/9xhSXNOLmlf dQKqx7A20QIiukNEJsgGNmxGGMiq1n4nRBCWdBpBVpITjilJdunS17z7SAR5UR5azLop ba+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=kWqv5DKcVizoDTss3u869jPE4V4CraFOc/0T7X64RIQ=; b=OznSPS/yxlYxDedDCYEjoAfi5xLz1G3nAWGnn3q/gnX2kpNijLoEA/CIB0XGSywV3L Z4dWCA7xqZOgnUQTrxLuHnjF+5dHjY1GeAqov4iUXfv4Fj8tKXNNYOvrVavbbM2VYPLs wRhMT9G+n7fPrZ1k7q63lcq5mEPdNv8+LDUES2TN/CD+3Rw6/iS0gPr+XT29d4kN+H4M LMNsNmfPWXzyDzwYBhGQJY6cgdFzRNYFpBEoniHqDR2/XDTgQwk5DLgynMkI/KTRZ49Z BzLYFt4t8RbR//uAIWmNsCzhjOK9okk4o3SuSRWpxNZRnxeBtRMqR8665fnh5XMst7t0 +MeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 29si11510973pgu.584.2019.08.20.01.56.30; Tue, 20 Aug 2019 01:56:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729484AbfHTIyL (ORCPT + 99 others); Tue, 20 Aug 2019 04:54:11 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:51160 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728842AbfHTIyL (ORCPT ); Tue, 20 Aug 2019 04:54:11 -0400 Received: from p5de0b6c5.dip0.t-ipconnect.de ([93.224.182.197] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hzzth-0007eD-0p; Tue, 20 Aug 2019 10:53:45 +0200 Date: Tue, 20 Aug 2019 10:53:43 +0200 (CEST) From: Thomas Gleixner To: Jisheng Zhang cc: Catalin Marinas , Jonathan Corbet , Will Deacon , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , "x86@kernel.org" , "Naveen N. Rao" , Anil S Keshavamurthy , "David S. Miller" , Masami Hiramatsu , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v2 3/3] arm64: implement KPROBES_ON_FTRACE In-Reply-To: <20190820114314.685a3239@xhacker.debian> Message-ID: References: <20190820113928.1971900c@xhacker.debian> <20190820114314.685a3239@xhacker.debian> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 20 Aug 2019, Jisheng Zhang wrote: > KPROBES_ON_FTRACE avoids much of the overhead with regular kprobes as it > eliminates the need for a trap, as well as the need to emulate or > single-step instructions. > > This patch implements KPROBES_ON_FTRACE for arm64. git grep 'This patch' Documentation/process/submitting-patches.rst Thanks, tglx