aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/kernel/mm/mmput_async.rs
diff options
context:
space:
mode:
authorgaoxiang17 <gaoxiang17@xiaomi.com>2025-08-21 06:38:55 +0800
committerAndrew Morton <akpm@linux-foundation.org>2025-09-13 16:55:15 -0700
commit0cd01c4a5cc140efb9fc203dd05ffccf3c2197d0 (patch)
tree914262bb9f7a51455b386ceb5adc46a49238bf17 /rust/kernel/mm/mmput_async.rs
parentmm/rmap: use folio_large_nr_pages() when we are sure it is a large folio (diff)
downloadwireguard-linux-0cd01c4a5cc140efb9fc203dd05ffccf3c2197d0.tar.xz
wireguard-linux-0cd01c4a5cc140efb9fc203dd05ffccf3c2197d0.zip
mm/cma: add 'available count' and 'total count' to trace_cma_alloc_start
This makes cma info more intuitive during debugging. Show up in the trace as: 279.814717: cma_alloc_start: name=reserved request_count=4 available_count=8096 total_count=8192 align=0 309.790580: cma_alloc_start: name=reserved request_count=4 available_count=8092 total_count=8192 align=0 317.046609: cma_alloc_start: name=reserved request_count=4 available_count=8088 total_count=8192 align=0 Link: https://lkml.kernel.org/r/8a79284879c529f467478552825154b018076e95.1755729178.git.gaoxiang17@xiaomi.com Signed-off-by: gaoxiang17 <gaoxiang17@xiaomi.com> Cc: David Hildenbrand <david@redhat.com> Cc: Liam Howlett <liam.howlett@oracle.com> Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Mike Rapoport <rppt@kernel.org> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'rust/kernel/mm/mmput_async.rs')
0 files changed, 0 insertions, 0 deletions