Skip to content

kvfree_rcu() miscellaneous fixes

Uladzislau Rezki (Sony) lkml rcu 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 2 repliesIn review
  2. v16 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- document the rcu_delay_page_cache_fill_msec parameter;
- drop the "kvfree_rcu: introduce "flags" variable" patch;
- reword commit messages;
- in the patch [1], do not use READ_ONCE() instances in get_cached_bnode()/put_cached_bnode() it is protected by the lock.
- Capitalize the word following by ":" in commit messages.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5kvfree_rcu: Release a page cache under memory pressureDocumentation/admin-guide/kernel-parameters.txt kernel/rcu/tree.c+78 -90 replies
2/5kvfree_rcu: Use [READ/WRITE]_ONCE() macros to access to nr_bkv_objskernel/rcu/tree.c+4 -100 replies
3/5kvfree_rcu: Add a bulk-list check when a scheduler is runkernel/rcu/tree.c+2 -10 replies
4/5kvfree_rcu: Update "monitor_todo" once a batch is startedkernel/rcu/tree.c+1 -20 replies
5/5kvfree_rcu: Use kfree_rcu_monitor() instead of open-coded variantkernel/rcu/tree.c+1 -70 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/5] kvfree_rcu() miscellaneous fixes

This is a v2 of a small series. See the changelog below:

V1 -> V2:
- document the rcu_delay_page_cache_fill_msec parameter;
- drop the "kvfree_rcu: introduce "flags" variable" patch;
- reword commit messages;
- in the patch [1], do not use READ_ONCE() instances in get_cached_bnode()/put_cached_bnode() it is protected by the lock.
- Capitalize the word following by ":" in commit messages.

Uladzislau Rezki (Sony) (4):

[1]  kvfree_rcu: Use [READ/WRITE]_ONCE() macros to access to nr_bkv_objs
[2]  kvfree_rcu: Add a bulk-list check when a scheduler is run
[3]  kvfree_rcu: Update "monitor_todo" once a batch is started
[4]  kvfree_rcu: Use kfree_rcu_monitor() instead of open-coded variant

Zhang Qiang (1):
[5] kvfree_rcu: Release a page cache under memory pressure

 .../admin-guide/kernel-parameters.txt         |  5 +
 kernel/rcu/tree.c                             | 92 +++++++++++++++----
 2 files changed, 77 insertions(+), 20 deletions(-)
Signature · 1 line
2.20.1