Re: [PATCH printk v1 01/13] printk: rename cpulock functions
From: John Ogness
Date: Mon Feb 14 2022 - 05:00:10 EST
On 2022-02-14, Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx> wrote:
> printk has been using enter/exit naming for a while now (starting with
> nmi enter/exit, then printk_safe enter/exit and soon direct
> enter/exit); so may be we can follow suit here and use
> printk_cpu_sync_enter() and printk_cpu_sync_exit()?
I like this suggestion. So it would be:
printk_cpu_sync_enter_irqsave()
printk_cpu_sync_exit_irqrestore()