[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167422926391.670047.2726157847923072257.b4-ty@kernel.dk>
Date: Fri, 20 Jan 2023 08:41:03 -0700
From: Jens Axboe <axboe@...nel.dk>
To: asml.silence@...il.com, io-uring@...r.kernel.org,
Breno Leitao <leitao@...ian.org>
Cc: kasan-dev@...glegroups.com, leit@...com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] io_uring: Enable KASAN for request cache
On Wed, 18 Jan 2023 07:56:30 -0800, Breno Leitao wrote:
> Every io_uring request is represented by struct io_kiocb, which is
> cached locally by io_uring (not SLAB/SLUB) in the list called
> submit_state.freelist. This patch simply enabled KASAN for this free
> list.
>
> This list is initially created by KMEM_CACHE, but later, managed by
> io_uring. This patch basically poisons the objects that are not used
> (i.e., they are the free list), and unpoisons it when the object is
> allocated/removed from the list.
>
> [...]
Applied, thanks!
[1/1] io_uring: Enable KASAN for request cache
commit: 9f61fe5e410444ccecb429e69536ecd981c73c08
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists