question on memcg_stats_[un]lock in memcg code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux