[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADUfDZrXAn=+4B9boaKe3aMBq19TXn8JDQm4kL0ctOxwB6YF9g@mail.gmail.com>
Date: Mon, 24 Feb 2025 09:53:32 -0800
From: Caleb Sander Mateos <csander@...estorage.com>
To: Jens Axboe <axboe@...nel.dk>
Cc: Pavel Begunkov <asml.silence@...il.com>, io-uring@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] io_uring/waitid: remove #ifdef CONFIG_COMPAT
On Mon, Feb 24, 2025 at 9:44 AM Jens Axboe <axboe@...nel.dk> wrote:
>
> On 2/24/25 10:23 AM, Caleb Sander Mateos wrote:
> > io_is_compat() is already defined to return false if CONFIG_COMPAT is
> > disabled. So remove the additional #ifdef CONFIG_COMPAT guards. Let the
> > compiler optimize out the dead code when CONFIG_COMPAT is disabled.
>
> Would you mind if I fold this into Pavel's patch? I can keep it
> standalone too, just let me know.
Fine by me, though I thought Pavel was suggesting keeping it separate:
https://lore.kernel.org/io-uring/da109d01-7aab-4205-bbb1-f5f1387f1847@gmail.com/T/#u
Thanks,
Caleb
Powered by blists - more mailing lists