lkml.org 
[lkml]   [2019]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch V2 06/17] x86/entry/32: Remove redundant interrupt disable
From
Date

On 10/23/19 2:27 PM, Thomas Gleixner wrote:
> Now that the trap handlers return with interrupts disabled, the
> unconditional disabling of interrupts in the low level entry code can be
> removed along with the trace calls and the misnomed preempt_stop macro.
> As a consequence ret_from_exception and ret_from_intr collapse.
>
> Add a debug check to verify that interrupts are disabled depending on
> CONFIG_DEBUG_ENTRY.
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> arch/x86/entry/entry_32.S | 21 ++++++---------------
> 1 file changed, 6 insertions(+), 15 deletions(-)
>

Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>

alex.

\
 
 \ /
  Last update: 2019-11-08 11:42    [W:0.240 / U:24.456 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site