On Wed, Nov 6, 2024 at 12:20 AM Suren Baghdasaryan <surenb@xxxxxxxxxx> wrote: > > On Tue, Nov 5, 2024 at 11:09 PM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote: > > > > On Mon, Oct 21, 2024 at 10:10:02AM -0700, Suren Baghdasaryan wrote: > > > From: "Uladzislau Rezki (Sony)" <urezki@xxxxxxxxx> > > > > > > From: Uladzislau Rezki <urezki@xxxxxxxxx> > > > > > > commit 3c5d61ae919cc377c71118ccc76fa6e8518023f8 upstream. > > > > > > Add a kvfree_rcu_barrier() function. It waits until all > > > in-flight pointers are freed over RCU machinery. It does > > > not wait any GP completion and it is within its right to > > > return immediately if there are no outstanding pointers. > > > > > > This function is useful when there is a need to guarantee > > > that a memory is fully freed before destroying memory caches. > > > For example, during unloading a kernel module. > > > > > > Signed-off-by: Uladzislau Rezki (Sony) <urezki@xxxxxxxxx> > > > Signed-off-by: Vlastimil Babka <vbabka@xxxxxxx> > > > --- > > > include/linux/rcutiny.h | 5 ++ > > > include/linux/rcutree.h | 1 + > > > kernel/rcu/tree.c | 109 +++++++++++++++++++++++++++++++++++++--- > > > 3 files changed, 107 insertions(+), 8 deletions(-) > > > > We need a signed-off-by line from you, as you did the backport here, > > please fix that up and resend this series. > > Doh! Ok, I'll resend it tomorrow morning. Thanks! Added SOB in the new series posted at: https://lore.kernel.org/all/20241106170927.130996-1-surenb@xxxxxxxxxx/ > > > > > thanks, > > > > greg k-h