From: Wang Xu
In perf_event_alloc(), event->overflow_handler is initialized to a
non-null value, which makes enable_single_step(bp, addr) in
breakpoint_handler() never be executed.
As a matter of fact, the branch condition has been updated to
is_default_overflow_handler().
Signed-off-by: Wang X
-Original Message-
From: Peter Zijlstra [mailto:pet...@infradead.org]
Sent: Thursday, September 26, 2019 5:14 PM
To: wangxu (AE)
Cc: mi...@redhat.com; a...@kernel.org; mark.rutl...@arm.com;
alexander.shish...@linux.intel.com; namhy...@kernel.org;
gre...@linuxfoundation.org; t
(iter);
-Original Message-
From: Michael S. Tsirkin [mailto:m...@redhat.com]
Sent: Monday, September 23, 2019 4:07 PM
To: wangxu (AE)
Cc: jasow...@redhat.com; k...@vger.kernel.org;
virtualizat...@lists.linux-foundation.org; net...@vger.kernel.org;
linux-kernel@vger.kernel.org
Subjec
From: Wang Xu
For x86/ppc, hw_breakpoint is triggered after the instruction is
executed.
For arm/arm64, which is triggered before the instruction executed.
Arm/arm64 skips the instruction by using single step. But it only
supports default overflow_handler.
This patch provides a chance to avoid
From: Wang Xu
Caller of vhost_exceeds_weight(..., total_len) in drivers/vhost/net.c
usually pass size_t total_len, which may be affected by rx/tx package.
Signed-off-by: Wang Xu
---
drivers/vhost/vhost.c | 4 ++--
drivers/vhost/vhost.h | 7 ---
2 files changed, 6 insertions(+), 5 deletions
5 matches
Mail list logo