linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* question on memcg_stats_[un]lock in memcg code
@ 2025-03-14  1:11 Shakeel Butt
  2025-03-14  1:46 ` Shakeel Butt
  0 siblings, 1 reply; 3+ messages in thread
From: Shakeel Butt @ 2025-03-14  1:11 UTC (permalink / raw)
  To: Sebastian Andrzej Siewior; +Cc: linux-mm

Hi Sebastian,

The commit be3e67b54b43 ("mm/memcg: protect per-CPU counter by disabling
preemption on PREEMPT_RT where needed.") added memcg_stats_lock() and
other variants in memcontrol.c. There usage were added in
__mod_memcg_lruvec_state, __count_memcg_events and mem_cgroup_swapout. I
am wondering why __mod_memcg_state was excluded?

thanks,
Shakeel


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

end of thread, other threads:[~2025-03-14 10:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-14  1:11 question on memcg_stats_[un]lock in memcg code Shakeel Butt
2025-03-14  1:46 ` Shakeel Butt
2025-03-14 10:12   ` Sebastian Andrzej Siewior

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