Re: [patch part-II V2 08/13] tracing: Provide lockdep less trace_hardirqs_on/off() variants

From: Alexandre Chartre
Date: Tue Mar 10 2020 - 07:25:03 EST



On 3/10/20 12:08 PM, Borislav Petkov wrote:
On Tue, Mar 10, 2020 at 11:55:57AM +0100, Alexandre Chartre wrote:
Shouldn't trace_hardirqs_on() be updated to call __trace_hardirqs_on()? It's the same
code except for the lockdep call.

Fell into that one too initially. Look again. :)


Got it, rcuidle :) So maybe a better function name or a comment could avoid
this confusion.

Anyway, Reviewed-by: Alexandre Chartre <alexandre.chartre@xxxxxxxxxx>

alex.