Re: [PATCH] rcu/kvfree: Refactor kvfree_rcu_queue_batch()

2024-10-01 Thread Vlastimil Babka
On 9/30/24 13:37, Uladzislau Rezki (Sony) wrote: > Improve readability of kvfree_rcu_queue_batch() function > in away that, after a first batch queuing, the loop is break > and success value is returned to a caller. > > There is no reason to loop and check batches further as all > outstanding obje

[PATCH] rcu/kvfree: Refactor kvfree_rcu_queue_batch()

2024-09-30 Thread Uladzislau Rezki (Sony)
Improve readability of kvfree_rcu_queue_batch() function in away that, after a first batch queuing, the loop is break and success value is returned to a caller. There is no reason to loop and check batches further as all outstanding objects have already been picked and attached to a certain batch