[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/4] hw/nvme: avoid unnecessary call to irq (de)assertion fun
From: |
Jinhao Fan |
Subject: |
Re: [PATCH 1/4] hw/nvme: avoid unnecessary call to irq (de)assertion functions |
Date: |
Wed, 17 Aug 2022 13:42:24 +0800 |
at 11:24 PM, Stefan Hajnoczi <stefanha@gmail.com> wrote:
> Can the logic be moved into assert()/deassert() so callers don't need
> to duplicate the checks?
>
> (I assume the optimization is that eventfd syscalls are avoided, not
> that the function call is avoided.)
I guess I can move the eventfd syscall into assert()/deassert().