aboutsummaryrefslogtreecommitdiffstats
path: root/lib/errseq.c
diff options
context:
space:
mode:
authorShakeel Butt <[email protected]>2025-05-14 18:41:57 +0000
committerAndrew Morton <[email protected]>2025-05-22 21:55:38 +0000
commit0ccf1806d44f7c567c73d6ef076a8f6c8c16c74b (patch)
tree999cd81eef1a459e6b8421857ac58ef956894e49 /lib/errseq.c
parentmemcg: make __mod_memcg_lruvec_state re-entrant safe against irqs (diff)
downloadkernel-0ccf1806d44f7c567c73d6ef076a8f6c8c16c74b.tar.gz
kernel-0ccf1806d44f7c567c73d6ef076a8f6c8c16c74b.zip
memcg: no stock lock for cpu hot-unplug
Previously on the cpu hot-unplug, the kernel would call drain_obj_stock() with objcg local lock. However local lock was not needed as the stock which was accessed belongs to a dead cpu but we kept it there to disable irqs as drain_obj_stock() may call mod_objcg_mlstate() which required irqs disabled. However there is no need to disable irqs now for mod_objcg_mlstate(), so we can remove the local lock altogether from cpu hot-unplug path. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Shakeel Butt <[email protected]> Acked-by: Vlastimil Babka <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Muchun Song <[email protected]> Cc: Roman Gushchin <[email protected]> Cc: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/errseq.c')
0 files changed, 0 insertions, 0 deletions