Skip to content

Some enhancement for kvfree_rcu_mightsleep()

Uladzislau Rezki (Sony) lkml rcu 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rcu/kvfree: Use polled API in a slow pathkernel/rcu/tree.c+5 -20 replies
2/2rcu/kvfree: Switch to expedited version in slow pathkernel/rcu/tree.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [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(-)
Signature · 1 line
2.39.2