[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240904143938.119964-1-urezki@gmail.com>
Date: Wed, 4 Sep 2024 16:39:36 +0200
From: "Uladzislau Rezki (Sony)" <urezki@...il.com>
To: "Paul E . McKenney" <paulmck@...nel.org>
Cc: RCU <rcu@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Neeraj upadhyay <Neeraj.Upadhyay@....com>,
Boqun Feng <boqun.feng@...il.com>,
Joel Fernandes <joel@...lfernandes.org>,
Frederic Weisbecker <frederic@...nel.org>,
Vlastimil Babka <vbabka@...e.cz>,
Uladzislau Rezki <urezki@...il.com>,
Oleksiy Avramchenko <oleksiy.avramchenko@...y.com>
Subject: [PATCH v2 0/2] Some enhancement for kvfree_rcu_mightsleep()
This is v2. This small change tends to improve even more the slow path
of kvfree_rcu_mightsleep() API. It is hit when a low memory condition
occurs which leads us into two options:
a) check if a GP is already passed for freed object;
b) if not, initialize and wait for completion of a new GP.
The differecne between v1 -> v2:
- Drop "Support dynamic rcu_head for single argument objects" patch;
- Use cond_synchronize_rcu_full() in a slow path.
Uladzislau Rezki (Sony) (2):
rcu/kvfree: Use polled API in a slow path
rcu/kvfree: Switch to expedited version in slow path
kernel/rcu/tree.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
--
2.39.2
Powered by blists - more mailing lists