Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965537AbeAJPYp (ORCPT + 1 other); Wed, 10 Jan 2018 10:24:45 -0500 Received: from mail-qt0-f177.google.com ([209.85.216.177]:34489 "EHLO mail-qt0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934271AbeAJPYl (ORCPT ); Wed, 10 Jan 2018 10:24:41 -0500 X-Google-Smtp-Source: ACJfBovxTp6qnSc4mt1AUK/69HdSX2krZRXgyA4k7GpV6uv4IYW3hiCEE/Abrx3py1VuuguuT/zuvQ== Date: Wed, 10 Jan 2018 10:24:37 -0500 From: Josef Bacik To: Masami Hiramatsu Cc: Alexei Starovoitov , Josef Bacik , rostedt@goodmis.org, mingo@redhat.com, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, ast@kernel.org, kernel-team@fb.com, daniel@iogearbox.net, linux-btrfs@vger.kernel.org, darrick.wong@oracle.com, Josef Bacik , Akinobu Mita Subject: Re: [PATCH bpf-next v3 2/5] tracing/kprobe: bpf: Compare instruction pointer with original one Message-ID: <20180110152434.4ttwbawotojbvk7v@destiny> References: <151557939382.6629.18074658376309258555.stgit@devbox> <151557945582.6629.16992171551563014989.stgit@devbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <151557945582.6629.16992171551563014989.stgit@devbox> User-Agent: NeoMutt/20170714 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Wed, Jan 10, 2018 at 07:17:35PM +0900, Masami Hiramatsu wrote: > Compare instruction pointer with original one on the > stack instead using per-cpu bpf_kprobe_override flag. > > This patch also consolidates reset_current_kprobe() and > preempt_enable_no_resched() blocks. Those can be done > in one place. > > Signed-off-by: Masami Hiramatsu Reviewed-by: Josef Bacik Thanks, Josef