mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Some enhancement for kvfree_rcu_mightsleep()
@ 2024-09-04 14:39 Uladzislau Rezki (Sony)
  2024-09-04 14:39 ` [PATCH v2 1/2] rcu/kvfree: Use polled API in a slow path Uladzislau Rezki (Sony)
  2024-09-04 14:39 ` [PATCH v2 2/2] rcu/kvfree: Switch to expedited version in " Uladzislau Rezki (Sony)
  0 siblings, 2 replies; 3+ messages in thread
From: Uladzislau Rezki (Sony) @ 2024-09-04 14:39 UTC (permalink / raw)
  To: Paul E . McKenney
  Cc: RCU, LKML, Neeraj upadhyay, Boqun Feng, Joel Fernandes,
	Frederic Weisbecker, Vlastimil Babka, Uladzislau Rezki,
	Oleksiy Avramchenko

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-04 14:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-04 14:39 [PATCH v2 0/2] Some enhancement for kvfree_rcu_mightsleep() Uladzislau Rezki (Sony)
2024-09-04 14:39 ` [PATCH v2 1/2] rcu/kvfree: Use polled API in a slow path Uladzislau Rezki (Sony)
2024-09-04 14:39 ` [PATCH v2 2/2] rcu/kvfree: Switch to expedited version in " Uladzislau Rezki (Sony)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®