On Wed, Feb 11, 2015 at 02:43:19PM -0500, Rik van Riel wrote:
If exception_enter happens when already in IN_KERNEL state, the
code still calls context_tracking_exit, which ends up in
rcu_eqs_exit_common, which explodes with a WARN_ON when it is
called in a situation where dynticks are not
,
Frederic Weisbecker, and Will Deacon for reviewing and improving
earlier versions of this patch series.
So the patchset look good, thanks everyone. I'm applying the series
and will see anything explode.
I'll wait until the end of the merge window to push it to Ingo.
Thanks.
--
To unsubscribe from
On Thu, Feb 12, 2015 at 10:47:10AM -0500, Rik van Riel wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02/12/2015 10:42 AM, Frederic Weisbecker wrote:
On Wed, Feb 11, 2015 at 02:43:19PM -0500, Rik van Riel wrote:
If exception_enter happens when already in IN_KERNEL state
On Tue, Feb 10, 2015 at 09:41:45AM -0500, r...@redhat.com wrote:
From: Rik van Riel r...@redhat.com
These wrapper functions allow architecture code (eg. ARM) to keep
calling context_tracking_user_enter context_tracking_user_exit
the same way it always has, without error prone tricks like
On Tue, Feb 10, 2015 at 09:25:26AM -0800, Paul E. McKenney wrote:
On Tue, Feb 10, 2015 at 11:48:37AM -0500, Rik van Riel wrote:
On 02/10/2015 10:28 AM, Frederic Weisbecker wrote:
On Tue, Feb 10, 2015 at 09:41:45AM -0500, r...@redhat.com wrote:
From: Rik van Riel r...@redhat.com
On Mon, Feb 09, 2015 at 08:22:59PM -0500, Rik van Riel wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02/09/2015 08:15 PM, Will Deacon wrote:
Hi Rik,
On Mon, Feb 09, 2015 at 04:04:38PM +, r...@redhat.com wrote:
Apologies to Catalin and Will for not fixing up ARM. I am
On Fri, Feb 06, 2015 at 11:14:53PM -0800, Paul E. McKenney wrote:
On Fri, Feb 06, 2015 at 10:34:21PM -0800, Paul E. McKenney wrote:
On Fri, Feb 06, 2015 at 10:53:34PM -0500, Rik van Riel wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02/06/2015 06:15 PM, Frederic
On Fri, Feb 06, 2015 at 01:51:56PM -0500, Rik van Riel wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02/06/2015 01:23 PM, Frederic Weisbecker wrote:
On Fri, Feb 06, 2015 at 01:20:21PM -0500, Rik van Riel wrote: On
02/06/2015 12:22 PM, Frederic Weisbecker wrote:
On Thu, Feb 05
On Thu, Feb 05, 2015 at 03:23:51PM -0500, r...@redhat.com wrote:
From: Rik van Riel r...@redhat.com
The host kernel is not doing anything while the CPU is executing
a KVM guest VCPU, so it can be marked as being in an extended
quiescent state, identical to that used when running user space
On Thu, Feb 05, 2015 at 03:23:47PM -0500, r...@redhat.com wrote:
When running a KVM guest on a system with NOHZ_FULL enabled
I just need to clarify the motivation first, does the above situation
really happen? Ok some distros enable NOHZ_FULL to let the user stop
the tick in userspace. So most
On Thu, Feb 05, 2015 at 03:23:48PM -0500, r...@redhat.com wrote:
From: Rik van Riel r...@redhat.com
Add the expected ctx_state as a parameter to context_tracking_user_enter
and context_tracking_user_exit, allowing the same functions to not just
track kernel user space switching, but also
On Thu, Feb 05, 2015 at 03:23:51PM -0500, r...@redhat.com wrote:
From: Rik van Riel r...@redhat.com
The host kernel is not doing anything while the CPU is executing
a KVM guest VCPU, so it can be marked as being in an extended
quiescent state, identical to that used when running user space
On Fri, Feb 06, 2015 at 09:56:43AM -0500, Rik van Riel wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02/06/2015 08:46 AM, Frederic Weisbecker wrote:
On Thu, Feb 05, 2015 at 03:23:47PM -0500, r...@redhat.com wrote:
When running a KVM guest on a system with NOHZ_FULL enabled
On Fri, Feb 06, 2015 at 02:50:44PM +0100, Paolo Bonzini wrote:
On 06/02/2015 14:46, Frederic Weisbecker wrote:
When running a KVM guest on a system with NOHZ_FULL enabled
I just need to clarify the motivation first, does the above situation
really happen? Ok some distros enable
On Fri, Feb 06, 2015 at 04:00:27PM +0100, Christian Borntraeger wrote:
Am 05.02.2015 um 21:23 schrieb r...@redhat.com:
When running a KVM guest on a system with NOHZ_FULL enabled, and the
KVM guest running with idle=poll mode, we still get wakeups of the
rcuos/N threads.
This problem
On Fri, Feb 06, 2015 at 01:20:21PM -0500, Rik van Riel wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02/06/2015 12:22 PM, Frederic Weisbecker wrote:
On Thu, Feb 05, 2015 at 03:23:48PM -0500, r...@redhat.com wrote:
From: Rik van Riel r...@redhat.com
Add the expected
On Fri, May 17, 2013 at 07:09:42AM -0700, Kevin Hilman wrote:
Frederic Weisbecker fweis...@gmail.com writes:
On Thu, May 16, 2013 at 12:52:03AM +0200, Frederic Weisbecker wrote:
On Mon, Mar 25, 2013 at 02:14:20PM -0700, Kevin Hilman wrote:
Gleb Natapov g...@redhat.com writes
On Thu, May 16, 2013 at 12:52:03AM +0200, Frederic Weisbecker wrote:
On Mon, Mar 25, 2013 at 02:14:20PM -0700, Kevin Hilman wrote:
Gleb Natapov g...@redhat.com writes:
On Sun, Mar 24, 2013 at 02:44:26PM +0100, Frederic Weisbecker wrote:
2013/3/21 Gleb Natapov g...@redhat.com:
Isn't
On Mon, Mar 25, 2013 at 02:14:20PM -0700, Kevin Hilman wrote:
Gleb Natapov g...@redhat.com writes:
On Sun, Mar 24, 2013 at 02:44:26PM +0100, Frederic Weisbecker wrote:
2013/3/21 Gleb Natapov g...@redhat.com:
Isn't is simpler for kernel/context_tracking.c to define empty
__guest_enter
2013/3/21 Gleb Natapov g...@redhat.com:
Isn't is simpler for kernel/context_tracking.c to define empty
__guest_enter()/__guest_exit() if !CONFIG_KVM.
That doesn't look right. Off-cases are usually handled from the
headers, right? So that we avoid iffdeffery ugliness in core code.
--
To
2013/2/19 Marcelo Tosatti mtosa...@redhat.com:
On Mon, Feb 18, 2013 at 05:43:47PM +0100, Frederic Weisbecker wrote:
2013/2/5 Michael Wolf m...@linux.vnet.ibm.com:
In the case of where you have a system that is running in a
capped or overcommitted environment the user may see steal time
2013/3/5 Michael Wolf m...@linux.vnet.ibm.com:
Sorry for the delay in the response. I did not see the email
right away.
On Mon, 2013-02-18 at 22:11 -0300, Marcelo Tosatti wrote:
On Mon, Feb 18, 2013 at 05:43:47PM +0100, Frederic Weisbecker wrote:
2013/2/5 Michael Wolf m
2013/2/5 Michael Wolf m...@linux.vnet.ibm.com:
In the case of where you have a system that is running in a
capped or overcommitted environment the user may see steal time
being reported in accounting tools such as top or vmstat. This can
cause confusion for the end user.
Sorry, I'm no expert
kvm_guest_enter.
We can enable preemption again after the call to
rcu_virt_note_context_switch returns.
Please note that we continue to run s390 guests with interrupts
enabled.
CC: Frederic Weisbecker fweis...@gmail.com
CC: Gleb Natapov g...@redhat.com
Signed-off-by: Christian Borntraeger
On Sun, Jul 08, 2012 at 06:54:18PM +0300, Avi Kivity wrote:
On 07/06/2012 03:00 PM, Frederic Weisbecker wrote:
Allow calls to rcu_user_enter() even if we are already
in userspace (as seen by RCU) and allow calls to rcu_user_exit()
even if we are already in the kernel.
This makes
On Thu, Nov 10, 2011 at 06:12:23AM -0600, Jason Wessel wrote:
On 11/10/2011 02:58 AM, Frederic Weisbecker wrote:
On Mon, Nov 07, 2011 at 02:45:17PM +, Will Deacon wrote:
Hi Frederic,
On Wed, Nov 02, 2011 at 07:42:04AM +, Frederic Weisbecker wrote:
On Tue, Nov 01, 2011 at 10:20
On Mon, Nov 07, 2011 at 02:45:17PM +, Will Deacon wrote:
Hi Frederic,
On Wed, Nov 02, 2011 at 07:42:04AM +, Frederic Weisbecker wrote:
On Tue, Nov 01, 2011 at 10:20:04AM -0600, David Ahern wrote:
Right. Originally it could be enabled/disabled. Right now it cannot be,
but I
On Tue, Nov 01, 2011 at 10:20:04AM -0600, David Ahern wrote:
On 11/01/2011 10:13 AM, Gleb Natapov wrote:
On Tue, Nov 01, 2011 at 09:49:19AM -0600, David Ahern wrote:
On 10/30/2011 10:53 AM, Gleb Natapov wrote:
KVM needs to know perf capability to decide which PMU it can expose to a
On Tue, Jul 05, 2011 at 03:30:26PM +0100, Will Deacon wrote:
Hi Frederic,
On Mon, Jul 04, 2011 at 02:58:24PM +0100, Frederic Weisbecker wrote:
On Wed, Jun 29, 2011 at 05:27:25PM +0100, Will Deacon wrote:
Hi Frederic,
Thanks for including me on CC.
On Wed, Jun 29, 2011 at 05
On Wed, Jun 29, 2011 at 05:27:25PM +0100, Will Deacon wrote:
Hi Frederic,
Thanks for including me on CC.
On Wed, Jun 29, 2011 at 05:08:45PM +0100, Frederic Weisbecker wrote:
On Wed, Jun 29, 2011 at 06:42:35PM +0300, Avi Kivity wrote:
The perf_event overflow handler does not receive any
On Mon, Jul 04, 2011 at 05:10:20PM +0300, Avi Kivity wrote:
On 07/04/2011 04:58 PM, Frederic Weisbecker wrote:
Another thing I would like to do in the even longer term is to not use perf
anymore
for ptrace breakpoints, because that involves a heavy dependency and few
people are
happy
On Wed, Jun 29, 2011 at 06:42:35PM +0300, Avi Kivity wrote:
The perf_event overflow handler does not receive any caller-derived
argument, so many callers need to resort to looking up the perf_event
in their local data structure. This is ugly and doesn't scale if a
single callback services
On Wed, Sep 01, 2010 at 01:02:57PM +0200, Peter Zijlstra wrote:
On Wed, 2010-09-01 at 13:38 +0300, Avi Kivity wrote:
On 09/01/2010 12:38 PM, Li Zefan wrote:
Then try this:
Tested-by: Avi Kivity a...@redhat.com
Thanks, queued as:
---
Subject: perf, trace: Fix module leak
On Thu, Mar 18, 2010 at 12:32:51PM +0200, Avi Kivity wrote:
By serious developer I mean
- someone who is interested in contributing, not in getting their name
into the kernel commits list
- someone who is willing to read the wiki page and find out where the
repository and mailing list
On Sat, Oct 10, 2009 at 01:18:16PM +0400, Michael Tokarev wrote:
Michael Tokarev wrote:
Frederic Weisbecker wrote:
[]
Was there swapping going on?
Not as far as I can see, and sar output agrees.
But I can read this from you guest traces:
I missed this one yesterday. Note it's GUEST
On Sat, Oct 10, 2009 at 01:22:16AM +0400, Michael Tokarev wrote:
Marcelo Tosatti wrote:
[snip]
Would be useful to collect sar (sar -B -b -u) output every one second
in both host/guest. You already mentioned load was low, but this should
give more details.
Here we go:
(Adding Thomas in Cc)
On Sat, Oct 03, 2009 at 08:12:05PM -0300, Marcelo Tosatti wrote:
Michael,
Can you please give the patch below a try please? (without acpi_pm timer
or priority adjustments for the guest).
On Tue, Sep 29, 2009 at 05:12:17PM +0400, Michael Tokarev wrote:
Hello.
On Mon, Aug 31, 2009 at 12:14:34AM -0400, Masami Hiramatsu wrote:
Frederic Weisbecker wrote:
On Thu, Aug 13, 2009 at 04:59:19PM -0400, Masami Hiramatsu wrote:
This program converts probe point in C expression to kprobe event
format for kprobe-based event tracer. This helps to define kprobes
On Thu, Aug 13, 2009 at 04:59:19PM -0400, Masami Hiramatsu wrote:
This program converts probe point in C expression to kprobe event
format for kprobe-based event tracer. This helps to define kprobes
events by C source line number or function name, and local variable
name. Currently, this
On Fri, Aug 21, 2009 at 03:43:07PM -0400, Masami Hiramatsu wrote:
Fix x86 instruction decoder selftest to check only .text because other
sections (e.g. .notes) will have random bytes which don't need to be checked.
Applied these 4 patches in
On Thu, Aug 20, 2009 at 10:42:05AM -0400, Masami Hiramatsu wrote:
Frederic Weisbecker wrote:
On Thu, Aug 13, 2009 at 04:34:13PM -0400, Masami Hiramatsu wrote:
Add x86 instruction decoder to arch-specific libraries. This decoder
can decode x86 instructions used in kernel into prefix, opcode
On Thu, Aug 20, 2009 at 11:03:40AM -0400, Masami Hiramatsu wrote:
Frederic Weisbecker wrote:
On Thu, Aug 20, 2009 at 01:42:31AM +0200, Frederic Weisbecker wrote:
On Thu, Aug 13, 2009 at 04:34:13PM -0400, Masami Hiramatsu wrote:
Add x86 instruction decoder to arch-specific libraries
On Thu, Aug 20, 2009 at 12:16:05PM -0400, Masami Hiramatsu wrote:
Frederic Weisbecker wrote:
On Thu, Aug 20, 2009 at 11:03:40AM -0400, Masami Hiramatsu wrote:
Frederic Weisbecker wrote:
On Thu, Aug 20, 2009 at 01:42:31AM +0200, Frederic Weisbecker wrote:
On Thu, Aug 13, 2009 at 04:34:13PM
On Thu, Aug 13, 2009 at 04:57:20PM -0400, Masami Hiramatsu wrote:
This script tests kprobes to probe on all symbols in the kernel and finds
symbols which must be blacklisted.
Usage
-
kprobestest [-s SYMLIST] [-b BLACKLIST] [-w WHITELIST]
Run stress test. If SYMLIST file is
On Thu, Aug 20, 2009 at 03:01:25PM -0400, Masami Hiramatsu wrote:
Frederic Weisbecker wrote:
On Thu, Aug 20, 2009 at 12:16:05PM -0400, Masami Hiramatsu wrote:
Frederic Weisbecker wrote:
On Thu, Aug 20, 2009 at 11:03:40AM -0400, Masami Hiramatsu wrote:
Frederic Weisbecker wrote:
On Thu, Aug
On Tue, Aug 18, 2009 at 10:20:11PM -0400, Masami Hiramatsu wrote:
Frederic Weisbecker wrote:
On Thu, Aug 13, 2009 at 04:35:01PM -0400, Masami Hiramatsu wrote:
Use TRACE_FIELD_ZERO(type, item) instead of TRACE_FIELD_ZERO_CHAR(item).
This also includes a fix of TRACE_ZERO_CHAR() macro
On Thu, Aug 13, 2009 at 04:34:13PM -0400, Masami Hiramatsu wrote:
Add x86 instruction decoder to arch-specific libraries. This decoder
can decode x86 instructions used in kernel into prefix, opcode, modrm,
sib, displacement and immediates. This can also show the length of
instructions.
This
On Thu, Aug 20, 2009 at 01:42:31AM +0200, Frederic Weisbecker wrote:
On Thu, Aug 13, 2009 at 04:34:13PM -0400, Masami Hiramatsu wrote:
Add x86 instruction decoder to arch-specific libraries. This decoder
can decode x86 instructions used in kernel into prefix, opcode, modrm,
sib
Hiramatsu mhira...@redhat.com
Acked-by: Ananth N Mavinakayanahalli ana...@in.ibm.com
Cc: Avi Kivity a...@redhat.com
Cc: Andi Kleen a...@linux.intel.com
Cc: Christoph Hellwig h...@infradead.org
Cc: Frank Ch. Eigler f...@redhat.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: H. Peter Anvin h
On Tue, Aug 18, 2009 at 07:17:39PM -0400, Masami Hiramatsu wrote:
Frederic Weisbecker wrote:
+ while (addr paddr) {
+ kernel_insn_init(insn, (void *)addr);
+ insn_get_opcode(insn);
+
+ /* Check if the instruction has been modified
...@redhat.com
Cc: Ananth N Mavinakayanahalli ana...@in.ibm.com
Cc: Avi Kivity a...@redhat.com
Cc: Andi Kleen a...@linux.intel.com
Cc: Christoph Hellwig h...@infradead.org
Cc: Frank Ch. Eigler f...@redhat.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: H. Peter Anvin h...@zytor.com
Cc: Ingo Molnar mi
:
- Select CONFIG_GENERIC_TRACER when CONFIG_KPROBE_TRACER=y.
Signed-off-by: Masami Hiramatsu mhira...@redhat.com
Acked-by: Ananth N Mavinakayanahalli ana...@in.ibm.com
Cc: Christoph Hellwig h...@infradead.org
Cc: Steven Rostedt rost...@goodmis.org
Cc: Ingo Molnar mi...@elte.hu
Cc: Frederic
On Tue, Jul 07, 2009 at 03:55:28PM -0400, Masami Hiramatsu wrote:
Frederic Weisbecker wrote:
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 206cb7d..65945eb 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -45,6 +45,8 @@ enum trace_type {
TRACE_POWER
On Tue, Jul 07, 2009 at 04:42:32PM -0400, Masami Hiramatsu wrote:
Frederic Weisbecker wrote:
On Tue, Jul 07, 2009 at 03:55:28PM -0400, Masami Hiramatsu wrote:
Frederic Weisbecker wrote:
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 206cb7d..65945eb 100644
--- a/kernel
On Tue, Jul 07, 2009 at 05:31:25PM -0400, Masami Hiramatsu wrote:
Frederic Weisbecker wrote:
On Tue, Jul 07, 2009 at 04:42:32PM -0400, Masami Hiramatsu wrote:
Frederic Weisbecker wrote:
On Tue, Jul 07, 2009 at 03:55:28PM -0400, Masami Hiramatsu wrote:
Frederic Weisbecker wrote:
diff
h...@infradead.org
Cc: Steven Rostedt rost...@goodmis.org
Cc: Ananth N Mavinakayanahalli ana...@in.ibm.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Roland McGrath rol...@redhat.com
Cc: Srikar Dronamraju sri...@linux.vnet.ibm.com
Cc: linux
these
functions may be shared among several ftrace_event_calls.
Signed-off-by: Masami Hiramatsu mhira...@redhat.com
Cc: Steven Rostedt rost...@goodmis.org
Cc: Ingo Molnar mi...@elte.hu
Cc: Tom Zanussi tzanu...@gmail.com
Cc: Frederic Weisbecker fweis...@gmail.com
Looks good too.
Acked-by: Frederic
On Sat, May 09, 2009 at 01:33:53PM -0400, Masami Hiramatsu wrote:
Frédéric Weisbecker wrote:
Hi,
2009/5/9 Masami Hiramatsu mhira...@redhat.com:
[...]
+
+/* event recording functions */
+static void kprobe_trace_record(unsigned long ip, struct trace_probe *tp,
+
Cc: Frederic Weisbecker fweis...@gmail.com
---
arch/x86/include/asm/ptrace.h | 66
+
arch/x86/kernel/ptrace.c | 59 +
2 files changed, 125 insertions(+), 0 deletions(-)
diff --git a/arch/x86/include/asm
59 matches
Mail list logo