Re: [PATCH] kernel/locking: make __down_common use flags previously saved

From: Hyeonggon Yoo
Date: Mon May 17 2021 - 12:06:41 EST


On Wed, May 12, 2021 at 09:09:34PM +0200, Ingo Molnar wrote:
> Yes, this is intentional, because if we get into __down_common() we have to
> schedule, so we have to enable interrupts.

when I sent this patch I thought we have to match XXXX_irqsave with
XXXX_irqrestore, but that was my misunderstanding. I'm sorry for sending
patch saying that it's wrong without explicit evidence.

now I know it's wrong so I won't do that again.

thanks,
Hyeonggon