Re: [PATCH v2 07/14] ext4/super: Rename kfree_rcu() to kfree_rcu_mightsleep()

From: Joel Fernandes
Date: Thu Mar 16 2023 - 11:23:55 EST


On Wed, Mar 15, 2023 at 3:07 PM Theodore Ts'o <tytso@xxxxxxx> wrote:
>
> On Wed, Mar 15, 2023 at 06:18:54PM +0000, Joel Fernandes (Google) wrote:
> > From: "Uladzislau Rezki (Sony)" <urezki@xxxxxxxxx>
> >
> > The kfree_rcu() and kvfree_rcu() macros' single-argument forms are
> > deprecated. Therefore switch to the new kfree_rcu_mightsleep() and
> > kvfree_rcu_mightsleep() variants. The goal is to avoid accidental use
> > of the single-argument forms, which can introduce functionality bugs in
> > atomic contexts and latency bugs in non-atomic contexts.
> >
> > Cc: Theodore Ts'o <tytso@xxxxxxx>
> > Cc: Lukas Czerner <lczerner@xxxxxxxxxx>
> > Signed-off-by: Uladzislau Rezki (Sony) <urezki@xxxxxxxxx>
> > Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
> > Signed-off-by: Joel Fernandes (Google) <joel@xxxxxxxxxxxxxxxxx>
>
> Acked-by: Theodore Ts'o <tytso@xxxxxxx>
>

Thanks!

- Joel