From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH x86/urgent] bpf: emulate push insns for uprobe on x86 Date: Thu, 09 Nov 2017 09:06:47 +0900 (KST) Message-ID: <20171109.090647.824552877953564084.davem@davemloft.net> References: <20171108213712.1232793-1-yhs@fb.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: mingo@kernel.org, tglx@linutronix.de, oleg@redhat.com, peterz@infradead.org, linux-kernel@vger.kernel.org, x86@kernel.org, netdev@vger.kernel.org, ast@fb.com, kernel-team@fb.com To: yhs@fb.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:52984 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751168AbdKIAGy (ORCPT ); Wed, 8 Nov 2017 19:06:54 -0500 In-Reply-To: <20171108213712.1232793-1-yhs@fb.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Yonghong Song Date: Wed, 8 Nov 2017 13:37:12 -0800 > Uprobe is a tracing mechanism for userspace programs. > Typical uprobe will incur overhead of two traps. > First trap is caused by replaced trap insn, and > the second trap is to execute the original displaced > insn in user space. ... I don't understand how this is bpf related, and if it is you don't explain it well in the commit message. Thank you.