aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKiryl Shutsemau (Meta) <kas@kernel.org>2026-10-12 15:30:09 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2026-10-13 04:01:32 -0700
commit549531755d329ec48439e3263535351ba1c5acd5 (patch)
treee56d24e86147e65a8ade3cfe69dee2bfdac279fa /include/linux
parent82fc13ff3a1e35fdd5e4c83b26877d18a7502511 (diff)
mm: count the runs of the expedite workrcu-free-v3
For observation: the new pgfree_rcu_kick event counts the runs of rcu_free_expedite_workfn() that found folios to free. Each of them calls synchronize_rcu_expedited(). With only hot folios marked it stays at 0 on tmpfs fallocate() and punch-hole loops, and with 9G free. Assisted-by: LLM Signed-off-by: Kiryl Shutsemau (Meta) <kas@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/vm_event_item.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/vm_event_item.h b/include/linux/vm_event_item.h
index 095cdb9997ca..cb5cee1e85af 100644
--- a/include/linux/vm_event_item.h
+++ b/include/linux/vm_event_item.h
@@ -37,6 +37,7 @@ enum vm_event_item { PGPGIN, PGPGOUT, PSWPIN, PSWPOUT,
FOR_ALL_ZONES(PGSCAN_SKIP)
PGFREE, PGACTIVATE, PGDEACTIVATE, PGLAZYFREE,
PGFREE_RCU, PGFREE_RCU_DONE, PGFREE_RCU_MARK,
+ PGFREE_RCU_KICK,
PGFREE_RCU_DRAIN,
PGFAULT, PGMAJFAULT,
PGLAZYFREED,