On Thu, Aug 30, 2012 at 02:05:29PM -0700, Paul E. McKenney wrote:
> From: Frederic Weisbecker <fweis...@gmail.com>
> 
> This way we can exit the RCU extended quiescent state before
> we schedule a new task from irq/exception exit.
> 
> Signed-off-by: Frederic Weisbecker <fweis...@gmail.com>
> Cc: Alessio Igor Bogani <abog...@kernel.org>
> Cc: Andrew Morton <a...@linux-foundation.org>
> Cc: Avi Kivity <a...@redhat.com>
> Cc: Chris Metcalf <cmetc...@tilera.com>
> Cc: Christoph Lameter <c...@linux.com>
> Cc: Geoff Levand <ge...@infradead.org>
> Cc: Gilad Ben Yossef <gi...@benyossef.com>
> Cc: Hakan Akkan <hakanak...@gmail.com>
> Cc: H. Peter Anvin <h...@zytor.com>
> Cc: Ingo Molnar <mi...@kernel.org>
> Cc: Josh Triplett <j...@joshtriplett.org>
> Cc: Kevin Hilman <khil...@ti.com>
> Cc: Max Krasnyansky <m...@qualcomm.com>
> Cc: Peter Zijlstra <pet...@infradead.org>
> Cc: Stephen Hemminger <shemmin...@vyatta.com>
> Cc: Steven Rostedt <rost...@goodmis.org>
> Cc: Sven-Thorsten Dietrich <thebigcorporat...@gmail.com>
> Cc: Thomas Gleixner <t...@linutronix.de>
> Signed-off-by: Paul E. McKenney <paul...@linux.vnet.ibm.com>

Reviewed-by: Josh Triplett <j...@joshtriplett.org>

>  arch/x86/kernel/entry_64.S |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S
> index 69babd8..6230487 100644
> --- a/arch/x86/kernel/entry_64.S
> +++ b/arch/x86/kernel/entry_64.S
> @@ -565,7 +565,7 @@ sysret_careful:
>       TRACE_IRQS_ON
>       ENABLE_INTERRUPTS(CLBR_NONE)
>       pushq_cfi %rdi
> -     call schedule
> +     call schedule_user
>       popq_cfi %rdi
>       jmp sysret_check
>  
> @@ -678,7 +678,7 @@ int_careful:
>       TRACE_IRQS_ON
>       ENABLE_INTERRUPTS(CLBR_NONE)
>       pushq_cfi %rdi
> -     call schedule
> +     call schedule_user
>       popq_cfi %rdi
>       DISABLE_INTERRUPTS(CLBR_NONE)
>       TRACE_IRQS_OFF
> @@ -974,7 +974,7 @@ retint_careful:
>       TRACE_IRQS_ON
>       ENABLE_INTERRUPTS(CLBR_NONE)
>       pushq_cfi %rdi
> -     call  schedule
> +     call  schedule_user
>       popq_cfi %rdi
>       GET_THREAD_INFO(%rcx)
>       DISABLE_INTERRUPTS(CLBR_NONE)
> @@ -1449,7 +1449,7 @@ paranoid_userspace:
>  paranoid_schedule:
>       TRACE_IRQS_ON
>       ENABLE_INTERRUPTS(CLBR_ANY)
> -     call schedule
> +     call schedule_user
>       DISABLE_INTERRUPTS(CLBR_ANY)
>       TRACE_IRQS_OFF
>       jmp paranoid_userspace
> -- 
> 1.7.8
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to