memcg: cgroup: call css_rstat_updated irrespective of in_nmi()
authorShakeel Butt <shakeel.butt@linux.dev>
Tue, 17 Jun 2025 19:57:25 +0000 (12:57 -0700)
committerTejun Heo <tj@kernel.org>
Tue, 17 Jun 2025 20:01:47 +0000 (10:01 -1000)
commit8dcb0ed834a3ec037c153c7757240ede9a8c9808
treef81287c1395be44d26925d43fca5569b15e02a82
parent6af89c6ca71742e9227e6f8172a86ce1ee16aa85
memcg: cgroup: call css_rstat_updated irrespective of in_nmi()

css_rstat_updated() is nmi safe, so there is no need to avoid it in
in_nmi(), so remove the check.

Signed-off-by: Shakeel Butt <shakeel.butt@linux.dev>
Tested-by: JP Kobryn <inwardvessel@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
mm/memcontrol.c